Skip to content

Commit

Permalink
change release workflow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Jun 27, 2023
1 parent dc27bd8 commit 728d427
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Release

on:
push:
branches:
- tom2drum/issues_945
# TODO @tom2drum: remove PR trigger
pull_request:
release:
types: [ released, prereleased ]

Expand All @@ -13,10 +12,12 @@ concurrency:

jobs:
label_released_issues:
name: Label released issues
uses: './.github/workflows/label-released-issues.yml'
secrets: inherit
if: ${{ github.event.action == 'released' }}
update_project_cards:
name: Update project tasks statuses
needs: label_released_issues
uses: './.github/workflows/update-project-cards.yml'
with:
Expand All @@ -25,5 +26,4 @@ jobs:
field_value: Released
issues: ${{ needs.label_released_issues.outputs.issues }}
secrets: inherit
if: ${{ github.event.action == 'released' }}

0 comments on commit 728d427

Please sign in to comment.