Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions files/workflows/add-issues-and-prs-to-fs-project-board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
######################################################################################
# READ THIS FIRST
# This file is authored in FilOzone/github-mgmt repository and copied to other repos via automation.
# If you need to make changes, either:
# 1. Make the changes in FilOzone/github-mgmt repository OR
# 2. Make the changes in the local repo and remove the automated copying from github-mgmt.
######################################################################################

# This action adds all issues and PRs to the FS project board.
# It is used to keep the project board up to date with the issues and PRs.
# It is triggered by the issue and PR events.
# It assumes a `FILOZZY_CI_ADD_TO_PROJECT` secret is set in the repo.
# 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
name: Add issues and PRs to FS project board

on:
issues:
types:
- opened
pull_request:
types:
- opened

jobs:
add-to-project:
name: Add all issues and prs to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/FilOzone/projects/14
github-token: ${{ secrets.FILOZZY_CI_ADD_TO_PROJECT }}
12 changes: 12 additions & 0 deletions github/FilOzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ repositories:
- lordshashank
- rvagg
- silent-cipher
files:
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
content: workflows/add-issues-and-prs-to-fs-project-board.yml
has_discussions: false
merge_commit_message: PR_TITLE
merge_commit_title: MERGE_MESSAGE
Expand All @@ -189,6 +192,9 @@ repositories:
- rvagg
push:
- silent-cipher
files:
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
content: workflows/add-issues-and-prs-to-fs-project-board.yml
has_discussions: false
merge_commit_message: PR_BODY
merge_commit_title: PR_TITLE
Expand Down Expand Up @@ -382,6 +388,9 @@ repositories:
- frrist
- LexLuthr
- nijoe1
files:
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
content: workflows/add-issues-and-prs-to-fs-project-board.yml
has_discussions: false
merge_commit_message: PR_TITLE
merge_commit_title: MERGE_MESSAGE
Expand Down Expand Up @@ -455,6 +464,9 @@ repositories:
- silent-cipher
- timfong888
- TippyFlitsUK
files:
.github/workflows/add-issues-and-prs-to-fs-project-board.yml:
content: workflows/add-issues-and-prs-to-fs-project-board.yml
has_discussions: false
merge_commit_message: PR_TITLE
merge_commit_title: MERGE_MESSAGE
Expand Down