ci: add workflow to add issues and PRs to FOC board#10
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to automatically add newly opened issues and pull requests in this repository to the FilOzone organization project board (projects/14), aligning this repo with the standard workflow used in other FilOzone repos.
Changes:
- Introduce
.github/workflows/add-issues-and-prs-to-fs-project-board.ymlto add newly opened issues/PRs to the org project board viaactions/add-to-project. - Trigger on
issues.openedandpull_request_target.openedand authenticate via theFILOZZY_CI_ADD_TO_PROJECTsecret.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+7
to
+13
| # 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 | ||
|
|
Comment on lines
+18
to
+32
| # Using "pull_request_target" instead of "pull_request" to support PRs from forks. | ||
| # Workflow runs triggered on PRs from forks do not have access to secrets, so "github-token" input below would otherwise be empty. | ||
| # This action does not check out nor execute user code so we should be safe. | ||
| # We also hardcode to specific hash to ensure no unintended changes underneath us. | ||
| pull_request_target: | ||
| 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: |
|
|
||
| jobs: | ||
| add-to-project: | ||
| name: Add all issues and prs to project |
rjan90
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
add-issues-and-prs-to-fs-project-board.ymlworkflow (same as dealbot and other FilOzone repos)FILOZZY_CI_ADD_TO_PROJECTsecret to be configured in this repoNote
This workflow only triggers on newly opened issues/PRs. Existing open PRs (e.g., #9) need to be added to the board manually.
🤖 Generated with Claude Code