Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
ci: change requirement for release job
Browse files Browse the repository at this point in the history
  • Loading branch information
trumully committed Apr 17, 2024
1 parent 3bdace4 commit 569433b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: Release

on:
workflow_run:
workflows: ["Lint", "Test"]
types:
- completed
push:
branches:
- main
paths:
- 'src/**.py'
pull_request:
branches:
- main
workflow_run:
workflows:
- Lint
- Test
types:
- completed
paths:
'src/**.py'
workflow_dispatch:

concurrency:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Test

on:
workflow_run:
workflows:
- Lint
workflows: ["Lint"]
types:
- completed
workflow_dispatch:
Expand Down

0 comments on commit 569433b

Please sign in to comment.