Skip to content

Commit 58f2ed6

Browse files
committed
Update issue tracking workflow
1 parent 65909bf commit 58f2ed6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/add_issues_to_project.yml

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
issues:
44
types:
55
- opened
6+
- closed
67
- labeled
78

89
jobs:
@@ -25,3 +26,10 @@ jobs:
2526
# Add to funder reporting board
2627
project-url: https://github.com/orgs/ooni/projects/33
2728
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }}
29+
30+
- uses: actions/[email protected]
31+
# Move closed issues that are not invalid over to the funder reporting board
32+
if: github.event.action == 'closed' && github.event.issue.state_reason != 'not_planned' && !contains(github.event.issue.labels.*.name, 'invalid')
33+
with:
34+
project-url: https://github.com/orgs/ooni/projects/33
35+
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }}

0 commit comments

Comments
 (0)