Repository navigation
Harden pr-description-checker workflow - #9049
Open
Damyan Pepper (damyanp) wants to merge 1 commit into
Open
Damyan Pepper (damyanp) wants to merge 1 commit into
Damyan Pepper (damyanp) wants to merge 1 commit into
Conversation
Set explicit contents: read / pull-requests: write permissions, check out only the trusted base-repo .github directory, and do not persist credentials. Update actions/checkout to the v5.1.0 pin already used in this repo. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 480e2f3f-26d5-4ab8-86e9-9bd488a7e2a3
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused hardening preserves required access, with no identified blocking issues.
No open issues 🎉
What changed in this PR
Hardens the PR description checker workflow by reducing checkout scope and credential exposure.
Changes:
- Sets explicit repository-read and pull-request-write permissions.
- Upgrades the pinned checkout action to v5.1.0.
- Restricts checkout to
.githuband disables credential persistence.
| File | Description |
|---|---|
.github/workflows/pr-description-checker.yml |
Tightens permissions and checkout configuration for the description checker. |
Review effort: Balanced
This branch has not been deployed
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.
Harden the pr-description-checker workflow.
Assisted by GitHub Copilot.