Skip to content

[codex] Harden PR description lint workflow#71

Merged
hintz-openai merged 1 commit into
mainfrom
codex/harden-pr-description-lint
May 14, 2026
Merged

[codex] Harden PR description lint workflow#71
hintz-openai merged 1 commit into
mainfrom
codex/harden-pr-description-lint

Conversation

@hintz-openai
Copy link
Copy Markdown
Contributor

@hintz-openai hintz-openai commented May 14, 2026

Context

Restrict the PR description lint workflow so forked PR checks run with the least token access needed.

TL;DR

Set read-only workflow permissions and stop checkout from storing credentials.

Summary

  • Add explicit contents read permission to the PR description lint workflow.
  • Set checkout persist-credentials to false for the lint job.

Alternatives

  • Leave defaults unchanged, but explicit permissions make the token scope easier to review.

Test Plan

  • make -C elixir all
  • Parsed .github/workflows/pr-description-lint.yml with PyYAML.

@hintz-openai hintz-openai marked this pull request as ready for review May 14, 2026 03:03
@hintz-openai hintz-openai merged commit bbef623 into main May 14, 2026
3 of 4 checks passed
@hintz-openai hintz-openai deleted the codex/harden-pr-description-lint branch May 14, 2026 03:03
chihsuan added a commit to Automattic/symphony that referenced this pull request May 15, 2026
…from-sandbox-allowlist

feat(sandbox): drop api.github.com and api.linear.app from default allowlist
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