Skip to content

Commit

Permalink
Update issue tracking workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jan 31, 2025
1 parent 85a1142 commit cfc9f7b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/add_issues_to_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
issues:
types:
- opened
- closed
- labeled

jobs:
Expand All @@ -25,3 +26,10 @@ jobs:
# Add to funder reporting board
project-url: https://github.com/orgs/ooni/projects/33
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }}

- uses: actions/[email protected]
# Move closed issues that are not invalid over to the funder reporting board
if: github.event.action == 'closed' && github.event.issue.state_reason != 'not_planned' && !contains(github.event.issue.labels.*.name, 'invalid')
with:
project-url: https://github.com/orgs/ooni/projects/33
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }}

0 comments on commit cfc9f7b

Please sign in to comment.