ci: auto-add issues and PRs to org project #2#410
Open
tylere wants to merge 4 commits into
Open
Conversation
Add a workflow that adds newly opened/reopened issues and PRs to org Project #2, plus a workflow_dispatch job to backfill existing open items. Uses the dedicated Source Project Bot GitHub App token. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
.github/workflows/add-to-project.yml:actions/add-to-project.workflow_dispatchjob adds all currently-open issues and PRs to the project (idempotent — safe to re-run).Credential
Uses a new dedicated least-privilege GitHub App Source Project Bot (org var
SC_PROJECT_BOT_ID+ secretSC_PROJECT_BOT_PRIVATE_KEY), because the defaultGITHUB_TOKENcannot write to an org-level Project v2. The App is created/installed and secrets set as a one-time org-owner step.Notes
pull_request_targetis used so the App token is available for fork PRs; the workflow never checks out or runs PR code.🤖 Generated with Claude Code