From 6545c0b4e1838d43c7653748f6deba9b5c6c5879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?George=20Kazami=20=5B=E4=B9=94=E6=B2=BB=C2=B7=E9=A2=A8?= =?UTF-8?q?=E8=A6=8B=5D?= Date: Sat, 18 Feb 2023 13:45:13 +0000 Subject: [PATCH] Update dev-cloudflare-pages.yml --- .github/workflows/dev-cloudflare-pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dev-cloudflare-pages.yml b/.github/workflows/dev-cloudflare-pages.yml index d6c9f79..e9422de 100644 --- a/.github/workflows/dev-cloudflare-pages.yml +++ b/.github/workflows/dev-cloudflare-pages.yml @@ -21,7 +21,8 @@ permissions: jobs: build_and_deploy_job: permissions: - contents: read # for actions/checkout to fetch code + contents: read + deployments: write pull-requests: write # for Azure/static-web-apps-deploy to comment on PRs if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') runs-on: [ self-hosted, Linux ]