Skip to content

ci: declare contents: read on PR description-check and precommit workflows#5657

Open
arpitjain099 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
arpitjain099:ci/add-permissions
Open

ci: declare contents: read on PR description-check and precommit workflows#5657
arpitjain099 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
arpitjain099:ci/add-permissions

Conversation

@arpitjain099
Copy link
Copy Markdown

Two PR validation workflows. pr-description-check examines github.event.pull_request.body from the event payload (technically contents: read is more than it needs for that read, but checkout is also there). pr-precommit runs pre-commit hooks after checkout. Neither writes. YAML parses.

pr-description-check inspects the PR body string from the event payload
(github.event.pull_request.body) and exits 1 on policy violations - no
checkout-write or API write.

pr-precommit runs pre-commit hooks via the standard checkout + run pattern.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@arpitjain099 arpitjain099 requested a review from a team as a code owner May 13, 2026 08:05
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@arpitjain099
Copy link
Copy Markdown
Author

Hi @kadupoornima, gentle ping on this. PR has been open for 4 days without review. I noticed you've been on the recent-merger side of recent merges in this repo. When you have a moment, would you mind giving it a quick look? No urgency. Happy to address any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant