This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-site.git
The following commit(s) were added to refs/heads/master by this push:
new 752bdf98d5 ci: Update permissions for `Deploy Site` workflow
752bdf98d5 is described below
commit 752bdf98d588c2761b88d1c7dde8902bf51073c4
Author: Wojciech Pietraszewski <[email protected]>
AuthorDate: Mon Aug 19 13:59:15 2024 +0200
ci: Update permissions for `Deploy Site` workflow
Adds explicit write permissions for creating PRs.
---
.github/workflows/deploy-site.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/deploy-site.yml
b/.github/workflows/deploy-site.yml
index 13402789cc..e95b14fe99 100644
--- a/.github/workflows/deploy-site.yml
+++ b/.github/workflows/deploy-site.yml
@@ -27,6 +27,9 @@ jobs:
deploy:
name: Deploy Site
runs-on: ubuntu-20.04
+ permissions:
+ contents: write
+ pull-requests: write
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v3