Approves runners automatically in PR's if .github/workflows
are untouched.
- Log-on to GitHub
- Go to
Personal/Repo settings
- Go to
Developer Settings
- Setup a
Personal access tokens
/Fine-grained tokens
. - Add the token to
github-autorun.toml
and define the repo:[github] access_token = "github_pat_..." repository = "Torxed/github-autorun"
- Go to
https://github.com/<owner>/<repo>/settings/hooks
Add webhook
with:Payload URL
to wheregithub-autorun
will listenContent type
set toapplication/json
- Configure a
Secret
that will be configured ingithub-autorun.toml
:[github] secret = "..."
- Select
Let me select individual events
to not spam the webhook too much:Pull requests
Workflow jobs
After that is done, you should be able to start:
$ python -m autorun