Skip to content

Commit

Permalink
Merge pull request #5262 from GeorgianaElena/auto-prj-management
Browse files Browse the repository at this point in the history
Trigger project management workflow on all opened issues
  • Loading branch information
GeorgianaElena authored Dec 11, 2024
2 parents a9d5e04 + 5e0ee10 commit aad1bed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/project-board-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ on:
issues:
types:
- labeled
# Issues opened by recurrent workflows don't trigger a labeled event
# so we check opened issues as well
- opened

jobs:
update-project-board-fields:
if: github.event.label.name == 'recurrent'
if: >
(github.event.action == "opened" && contains(github.event.issue.labels.*.name, "recurrent")) ||
(github.event.action == "labeled" && github.event.label.name == "recurrent")
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit aad1bed

Please sign in to comment.