Skip to content

Commit

Permalink
Rl wf (#3)
Browse files Browse the repository at this point in the history
* New: Auto Draft Release workflow.

Minor tweaks to README
  • Loading branch information
coreyjs authored Oct 17, 2024
1 parent 3466406 commit 38c3c4e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: Draft Release on Merge

on:
workflow_run:
workflows: ["Pytest-Black-Ruff"]
types:
- completed
branches:
- main
push:
branches:
- main

jobs:
draft-release:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: The-Odds-API
name: Pytest-Black-Ruff

on:
push:
Expand Down

0 comments on commit 38c3c4e

Please sign in to comment.