Skip to content

Commit 38c3c4e

Browse files
authored
Rl wf (#3)
* New: Auto Draft Release workflow. Minor tweaks to README
1 parent 3466406 commit 38c3c4e

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/draft-release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
name: Draft Release on Merge
22

33
on:
4+
workflow_run:
5+
workflows: ["Pytest-Black-Ruff"]
6+
types:
7+
- completed
8+
branches:
9+
- main
410
push:
511
branches:
612
- main
713

814
jobs:
915
draft-release:
1016
runs-on: ubuntu-latest
17+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
18+
1119
steps:
1220
- name: Checkout code
1321
uses: actions/checkout@v2

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33

4-
name: The-Odds-API
4+
name: Pytest-Black-Ruff
55

66
on:
77
push:

0 commit comments

Comments
 (0)