Skip to content

Commit 4b974e5

Browse files
authored
Create add-issues-and-prs-to-fs-project-board.yml
1 parent 5d3e043 commit 4b974e5

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
######################################################################################
2+
# READ THIS FIRST
3+
# This file is authored in filecoin-project/github-mgmt repository and copied to other repos via automation.
4+
# If you need to make changes, either:
5+
# 1. Make the changes in filecoin-project/github-mgmt repository OR
6+
# 2. Make the changes in the local repo and remove the automated copying from github-mgmt.
7+
######################################################################################
8+
9+
# This action adds all issues and PRs with a "team/fs-wg" label to the FS project board.
10+
# It is used to keep the FS project board up to date with the issues and PRs.
11+
# It is triggered by the issue and PR events.
12+
# It assumes a `FILOZZY_CI_ADD_TO_PROJECT` secret is set in the repo.
13+
# 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
14+
name: Add issues and PRs to FS project board
15+
16+
on:
17+
issues:
18+
types:
19+
- labeled
20+
pull_request:
21+
types:
22+
- labeled
23+
24+
jobs:
25+
add-to-project:
26+
name: Add all "team/fs-wg" issues and PRs to project
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/[email protected]
30+
with:
31+
project-url: https://github.com/orgs/FilOzone/projects/14
32+
github-token: ${{ secrets.FILOZZY_CI_ADD_TO_PROJECT }}
33+
labeled: team/fs-wg

0 commit comments

Comments
 (0)