Skip to content

✨ Use PR Submit for automated PRs - #52

Merged
tiangolo merged 1 commit into
mainfrom
agent/use-pr-submit
Aug 8, 2026
Merged

✨ Use PR Submit for automated PRs#52
tiangolo merged 1 commit into
mainfrom
agent/use-pr-submit

Conversation

@tiangolo

@tiangolo tiangolo commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • allow the automated PR workflow to request PR Submit tokens
  • replace the long-lived repository secret with a short-lived repository-scoped token obtained through GitHub OIDC
  • use read-only checkout credentials and attribute generated commits to pr-submit[bot]

Security

The workflow receives only contents: read and id-token: write. PR Submit validates the allowlisted workflow from the default branch before returning its short-lived installation token with repository contents and pull-request write permissions.

Checks

  • parsed the workflow and .github/pr-submit.yml as YAML
  • git diff --check

AI Disclaimer

This PR was created with the help of gpt-5.6-sol and reviewed by hand.

@tiangolo tiangolo added the feature New feature or request label Aug 8, 2026
@github-actions github-actions Bot added the internal Internal changes label Aug 8, 2026
@tiangolo tiangolo removed the feature New feature or request label Aug 8, 2026
@tiangolo
tiangolo merged commit a86d13a into main Aug 8, 2026
28 of 30 checks passed
@tiangolo
tiangolo deleted the agent/use-pr-submit branch August 8, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant