Skip to content

Commit f93fcf2

Browse files
authored
Add lotus/curio workflow for auto adding PRs and issues to FS project board (#145)
* Add lotus/curio workflow for auto adding PRs and issues to FS project board This is part of FilOzone/github-mgmt#10 * Using team/fs-wg as the label
1 parent c2649f4 commit f93fcf2

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-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

github/filecoin-project.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,9 @@ repositories:
764764
- aarshkshah1992
765765
- rjan90
766766
- ZenGround0
767+
files:
768+
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
769+
content: workflows/add-issues-and-prs-to-fs-project-board.yml
767770
has_discussions: true
768771
merge_commit_message: PR_BODY
769772
merge_commit_title: PR_TITLE
@@ -3188,6 +3191,9 @@ repositories:
31883191
- snadrus # Curio lead
31893192
triage:
31903193
- ribasushi # Independent contributor active on various Lotus issues. Now can assign labels and leave reviews.
3194+
files:
3195+
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
3196+
content: workflows/add-issues-and-prs-to-fs-project-board.yml
31913197
has_discussions: true
31923198
merge_commit_message: PR_TITLE
31933199
merge_commit_title: MERGE_MESSAGE

0 commit comments

Comments
 (0)