From 9e4dd87264685ade22e191372d6242375f7d16a5 Mon Sep 17 00:00:00 2001 From: Alasdair McLeay Date: Wed, 1 Feb 2023 09:35:15 +0000 Subject: [PATCH] Add reference to GitHub action settings --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a77103c5..b0d5b27d 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,10 @@ _Optional_ A pull request number, only required if triggered from a workflow_dis ## Usage Configure this action in your workflows providing the inputs described above. -Note that this action requires a GitHub token with additional permissions. You must use the [`permissions`](https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#permissions) tag to specify the required rules or configure your [GitHub account](https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/). +Note that this action requires a GitHub token with additional permissions. You must either: + +1. Use the [`permissions`](https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#permissions) tag to specify the required rules and under "Settings > Actions > General" check "Allow GitHub Actions to create and approve pull requests". +2. Use a custom token [GitHub account](https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/) with these permissions configured. The permissions required are: