Skip to content

Commit 21d005a

Browse files
authored
ci: create add-issues-and-prs-to-fs-project-board.yml (#13218)
Part of FilOzone/github-mgmt#10. It didn't originally get created with github-mgmt because of the branch protection rule.
1 parent 280d05d commit 21d005a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
######################################################################################
2+
# READ THIS FIRST
3+
# This file is authored in filecoin-project/github-mgmt repository and MANUALLY copied to other repos.
4+
# See https://github.com/filecoin-project/github-mgmt/blob/master/files/workflows/add-issues-and-prs-to-fs-project-board.yml for more info.
5+
######################################################################################
6+
7+
# This action adds all issues and PRs with a "team/fs-wg" label to the FS project board.
8+
# It is used to keep the FS project board up to date with the issues and PRs.
9+
# It is triggered by the issue and PR events.
10+
# It assumes a `FILOZZY_CI_ADD_TO_PROJECT` secret is set in the repo.
11+
# This secret should have the permissions outlined in https://github.com/actions/add-to-project?tab=readme-ov-file#creating-a-pat-and-adding-it-to-your-repository
12+
name: Add issues and PRs to FS project board
13+
14+
on:
15+
issues:
16+
types:
17+
- labeled
18+
pull_request:
19+
types:
20+
- labeled
21+
22+
jobs:
23+
add-to-project:
24+
name: Add all "team/fs-wg" issues and PRs to project
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/[email protected]
28+
with:
29+
project-url: https://github.com/orgs/FilOzone/projects/14
30+
github-token: ${{ secrets.FILOZZY_CI_ADD_TO_PROJECT }}
31+
labeled: team/fs-wg

0 commit comments

Comments
 (0)