From 925d92be20762ec0115ca5c1bf56370d7852083a Mon Sep 17 00:00:00 2001 From: Jess Bees Date: Tue, 19 Dec 2023 12:13:19 -0500 Subject: [PATCH] clarify actions permission --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bf1f86d..ae58ee9 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ jobs: permissions: pages: write # to deploy to Pages id-token: write # to verify the deployment originates from an appropriate source + actions: read # to download an artifact uploaded by `actions/upload-pages-artifact@v3` # Deploy to the github-pages environment environment: @@ -76,7 +77,7 @@ There are a few important considerations to be aware of: 2. The job that executes the deployment must at minimum have the following permissions: - `pages: write` - `id-token: write` - - `actions: write` + - `actions: read` 3. The deployment should target the `github-pages` environment (you may use a different environment name if needed, but this is not recommended.)