-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Improve evaluate-pr-tests workflow: slash_command + workflow_dispatch, security hardening #34678
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
0cc2384
Switch evaluate-pr-tests to pull_request_target for fork PR support
github-actions[bot] 2dfcf71
Gate workflow_dispatch checkout to PRs from authors with write access
github-actions[bot] d79ff20
Move write-access gate into Checkout-GhAwPr.ps1 for reuse
github-actions[bot] 8234b33
Skip workflow_dispatch checkout for fork PRs
github-actions[bot] e1dee57
Restore entire .github/ from base branch instead of individual paths
github-actions[bot] f4c4791
Use merge instead of restore for workflow_dispatch checkout
github-actions[bot] c089534
Gate auto-evaluation on author_association for write access
github-actions[bot] e6004b7
Fix review findings: shallow clone, write-access gating, fork message
github-actions[bot] 00af259
Add dry-run mode and noop guidance to evaluate-tests workflow
github-actions[bot] 17c0f27
Add null guard for PrInfo in Checkout-GhAwPr.ps1
github-actions[bot] f4f02df
Update gh-aw security docs: accurate credential model, defense layers
github-actions[bot] 27e14d6
Add copilot[bot] to bots allowlist for auto-evaluation
github-actions[bot] 69c0a16
Allow fork PRs from write-access authors in workflow_dispatch
github-actions[bot] f3dc6a9
Address review feedback: rename suppress_output, fork guard, no-op re…
github-actions[bot] 7bcc980
Fix bot identity: copilot[bot] → copilot-swe-agent[bot]
github-actions[bot] 04bf387
Fix gate step for large PRs (300+ files)
github-actions[bot] 082ed7a
Hide older evaluation comments when posting new ones
github-actions[bot] e7fdf22
Use slash_command trigger and add built-in feature discovery guide
github-actions[bot] b40ccb5
Add workflow labels and update fork PR behavior docs for slash_command
github-actions[bot] d142b43
Fix gate step to run for all triggers, bump timeout to 20min
github-actions[bot] cfee2bc
Fix gate to succeed cleanly for no-test PRs, fix permission denial ex…
github-actions[bot] e76545e
Skip checkout when gate finds no test files, fix bot author permissio…
github-actions[bot] bf19b8c
Gate exit 1 to stop workflow on no-test PRs, remove HAS_TEST_FILES
github-actions[bot] 0faafa9
Limit evaluate-pr-tests to slash_command trigger only
github-actions[bot] f8ab3c5
Guard against non-PR issues and closed/merged PRs
github-actions[bot] 6154bfd
Address review findings: fork gate, fatal restore, doc alignment
github-actions[bot] 3b49c7a
Fix remaining review findings: gate error handling, REST fallback, ta…
github-actions[bot] 72356a7
Surface REST API fallback errors instead of masking as 'no test files'
github-actions[bot] 338d7c1
Re-enable workflow_dispatch for manual triggering
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
💯