Commit 7edbbfa
ci: add automated issue/PR labeling and project board management (#82)
* ci: add workflows for auto-labeling and project board management
Add two GitHub Actions workflows:
- auto-label.yml: Automatically applies team/fs-wg and team/filecoin-pin labels to new issues and PRs
- add-issues-and-prs-to-fs-project-board.yml: Adds labeled issues/PRs to the FS project board
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix: use PAT in auto-label workflow to trigger project board workflow
Use FILOZZY_CI_ADD_TO_PROJECT secret instead of default GITHUB_TOKEN
to ensure that when labels are added, the add-issues-and-prs-to-fs-project-board
workflow is properly triggered. Actions using GITHUB_TOKEN do not trigger
subsequent workflows by design.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* docs: add PAT requirements to auto-label workflow
Document the specific requirements for the FILOZZY_CI_ADD_TO_PROJECT secret:
- Must have public_repo scope to add labels to issues/PRs
- PAT owner must have at least triage access to the repository
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix: correct misleading comment about pull_request_target and secrets
The previous comment incorrectly stated that fork PRs don't have access to
secrets. In reality, pull_request_target DOES have access to secrets (unlike
pull_request), which is precisely why it's being used here - to authenticate
with the project board API for fork PRs.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* docs: clarify pull_request_target runs workflow from base branch
Add security note explaining that pull_request_target executes the workflow
file from the base branch (main), not from the PR branch. This prevents
attackers from modifying the workflow via PR to steal secrets.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* dod fix
---------
Co-authored-by: Claude <[email protected]>1 parent 3cb9df7 commit 7edbbfa
File tree
2 files changed
+71
-0
lines changed- .github/workflows
2 files changed
+71
-0
lines changedLines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments