You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
pr-submit
GitHub App
pr-submit
GitHub App
PR Submit
A GitHub App that issues short-lived, repository-scoped tokens to approved workflows that create branches and pull requests.
Use PR Submit
Install the PR Submit GitHub App in the repositories where it should be available.
Add .github/pr-submit.yml listing the workflows allowed to request tokens:
PR Submit accepts GitHub OIDC tokens only from schedule and workflow_dispatch workflows running on the repository's default branch. The requesting workflow must be listed in .github/pr-submit.yml and must match the version currently on the default branch. Manually triggered workflows must be requested by an actor who currently has write permission.
The returned GitHub App installation token has contents: write and pull_requests: write permissions and is scoped to the repository that requested it.
Do not add the GitHub App to branch protection or ruleset bypass lists.
Deploy your own
Create a GitHub App with read and write access to repository contents and pull requests, then generate a private key. It does not need webhooks, user authorization, a client secret, or any other repository permissions.
Deploy this FastAPI app, for example to FastAPI Cloud, and set:
GITHUB_CLIENT_ID: the GitHub App client ID.
GITHUB_APP_PRIVATE_KEY: the GitHub App private key.
OIDC_AUDIENCE: the public URL of the deployed app.
Pass the deployment URL to the Action:
with:
url: https://your-app.fastapicloud.dev
License
This project is licensed under the terms of the MIT license.