Skip to content

Commit 51f663a

Browse files
committed
Add workflow for auto adding PRs and issues to FS project board
This is part of #10
1 parent 15e5ccc commit 51f663a

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This file is authored in FilOzone/github-mgmt repository and copied to other repos.
2+
# If you need to make changes, either:
3+
# 1. Make the changes in FilOzone/github-mgmt repository OE
4+
# 2. Make the changes in the local repo and remove the copying from github-mgmt.
5+
6+
# This action adds all issues and PRs to the FS project board.
7+
# It is used to keep the project board up to date with the issues and PRs.
8+
# It is triggered by the issue and PR events.
9+
name: Add issues and PRs to FS project board
10+
11+
on:
12+
issues:
13+
types:
14+
- opened
15+
pull_request:
16+
types:
17+
- opened
18+
19+
jobs:
20+
add-to-project:
21+
name: Add all issues and prs to project
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/add-to-project@v1.0.2
25+
with:
26+
project-url: https://github.com/orgs/FilOzone/projects/14
27+
github-token: ${{ secrets.FILOZZY_CI_ADD_TO_PROJECT }}

github/FilOzone.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ repositories:
165165
- lordshashank
166166
- rvagg
167167
- silent-cipher
168+
files:
169+
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
170+
content: workflows/add-issues-and-prs-to-fs-project-board.yml
168171
has_discussions: false
169172
merge_commit_message: PR_TITLE
170173
merge_commit_title: MERGE_MESSAGE
@@ -189,6 +192,9 @@ repositories:
189192
- rvagg
190193
push:
191194
- silent-cipher
195+
files:
196+
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
197+
content: workflows/add-issues-and-prs-to-fs-project-board.yml
192198
has_discussions: false
193199
merge_commit_message: PR_BODY
194200
merge_commit_title: PR_TITLE
@@ -382,6 +388,9 @@ repositories:
382388
- frrist
383389
- LexLuthr
384390
- nijoe1
391+
files:
392+
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
393+
content: workflows/add-issues-and-prs-to-fs-project-board.yml
385394
has_discussions: false
386395
merge_commit_message: PR_TITLE
387396
merge_commit_title: MERGE_MESSAGE
@@ -455,6 +464,9 @@ repositories:
455464
- silent-cipher
456465
- timfong888
457466
- TippyFlitsUK
467+
files:
468+
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
469+
content: workflows/add-issues-and-prs-to-fs-project-board.yml
458470
has_discussions: false
459471
merge_commit_message: PR_TITLE
460472
merge_commit_title: MERGE_MESSAGE

0 commit comments

Comments
 (0)