Repository navigation
Label pull requests by release risk #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| name: Pull Request | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, reopened, synchronize, ready_for_review, labeled] | ||
|
|
||
| jobs: | ||
| pull-request: | ||
| uses: simpleanalytics/github-actions/.github/workflows/pull-request.yml@main | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Security Misconfiguration Reachability: Internal Pin the reusable workflow to an approved commit.
|
||
| secrets: | ||
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Configure The workflow passes the secret to the reusable workflow, but the reported run failed because this repository does not define
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
Repository: simpleanalytics/wordpress-plugin
Length of output: 44783
Handle fork pull requests explicitly.
Fork pull requests do not receive
ANTHROPIC_API_KEY, and theirGITHUB_TOKENis read-only. The reusable workflow requires that secret and performs label, comment, and reviewer-request writes. Add a safe fallback or trusted workflow path for fork pull requests.