From fad8fd9f21fbc72b23b74e229a69aa4e5d256f73 Mon Sep 17 00:00:00 2001 From: Louis Bompart Date: Wed, 12 Jun 2024 02:44:40 -0400 Subject: [PATCH] docs(readme): add permissions in push example A reminder about the required privilege to push would benefit the example of pushing with the built-in token IMHO. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9b6176d94..efaddb74a 100644 --- a/README.md +++ b/README.md @@ -272,6 +272,9 @@ jobs: ```yaml on: push +# `contents:write` permission must be granted to the built-in token, see https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs +permissions: + contents: write #Require jobs: build: runs-on: ubuntu-latest