ci: add issues and PRs to the FOC project board - #18
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow intended to automatically add newly opened issues and PRs in this repository to the FilOzone FOC org project board (#14), using the existing ADD_TO_PROJECT_PAT secret.
Changes:
- Introduces a new workflow triggered on
issues.openedandpull_request_target.opened. - Uses
actions/add-to-projectpinned to a commit SHA to add items tohttps://github.com/orgs/FilOzone/projects/14. - Drops
GITHUB_TOKENpermissions (permissions: {}) and authenticates viasecrets.ADD_TO_PROJECT_PAT.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+1
to
+5
| ###################################################################################### | ||
| # READ THIS FIRST | ||
| # This file is authored in FilOzone/github-mgmt repository and MANUALLY copied to other repos. | ||
| # See https://github.com/FilOzone/github-mgmt/blob/master/files/workflows/add-issues-and-prs-to-foc-project-board.yml for more info. | ||
| ###################################################################################### |
Comment on lines
+36
to
+41
| steps: | ||
| - uses: actions/add-to-project@5afcf98fcd03f1c2f92c3c83f58ae24323cc57fd # v2.0.0 | ||
| continue-on-error: true # Don't fail if item already exists in project. actions/add-to-project does not currently handle this case gracefully. | ||
| with: | ||
| project-url: https://github.com/orgs/FilOzone/projects/14 | ||
| github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} |
Adds the canonical FilOzone workflow that auto-adds newly opened issues and PRs to the FOC board (FilOzone org project #14), matching how the FOC repos and filbeam/worker do it. Uses the FILOZZY_CI_ADD_TO_PROJECT org secret. Part of filbeam/worker#695 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
BigLep
force-pushed
the
ci/add-issues-and-prs-to-foc-project-board
branch
from
July 7, 2026 02:37
750e53e to
a6a9c40
Compare
rjan90
approved these changes
Jul 7, 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.
What
Adds the canonical FilOzone workflow that auto-adds newly opened issues and PRs to the FOC board (FilOzone org project #14) — matching how the FOC repos and
filbeam/workerdo it.Uses the
FILOZZY_CI_ADD_TO_PROJECTorg secret (now created in the filbeam org), the same secret the FOC repos use. Pinnedactions/add-to-project@v2.0.0,pull_request_target(covers fork/dependabot PRs),continue-on-error, andpermissions: {}. The file is byte-identical to the FOC canonical template.Part of filbeam/worker#695