Repository navigation
ci(project): add pull requests on pull_request, which public repositories still start - #162
Merged
Merged
Conversation
…ries still start GitHub now refuses pull_request_target runs on public repositories by default, so every pull request got a Project run with a startup failure and a "No jobs were run" email.
Contributor
Author
|
Review (Reviewer 2): approved at 964a5d5. The job checks out nothing and reads only the event's own node id and number, so moving to Generated by Claude Code |
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.
Requested by Mathias · project thread
What
The Project workflow (adds new issues and pull requests to the org board) now triggers on
pull_requestinstead ofpull_request_target.Why
Since 2026-12-02 ~22:40 UTC every
pull_request_targetrun of this workflow ends in Startup failure with this annotation:Each one sends a "Project: No jobs were run" email. Private repositories (enterprise, website, demo) are not affected; the public ones (tripletrail, tripletrail-bench) are. Issue events still succeed.
pull_requestfrom a branch in this repository getsPROJECT_TOKEN, so every PR the team opens is still added. A PR from a fork (or one Dependabot opens) gets no secret: the job passes without adding it, as before for a missing secret. Such a PR can be added on the board or with a manual run. The alternative, an Actions policy that re-allowspull_request_target, is a settings change and widens what fork PRs can reach, so this PR avoids it.No issue: CI chore (label
no-issue).Generated by Claude Code