]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
ci: update permissions for calibreapp-image-actions.yml (#39021)
authorDiogo Teles Sant'Anna <diogoteles@google.com>
Tue, 15 Aug 2023 11:36:42 +0000 (08:36 -0300)
committerGitHub <noreply@github.com>
Tue, 15 Aug 2023 11:36:42 +0000 (14:36 +0300)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
.github/workflows/calibreapp-image-actions.yml

index 21df1f626502e6d4f031bfea26a61fbb44cd62c9..97081deb6e8e45e85009b46e846e4c8b503e5c10 100644 (file)
@@ -8,12 +8,18 @@ on:
       - '**.png'
       - '**.webp'
 
+permissions:
+  contents: read
+
 jobs:
   build:
     # Only run on Pull Requests within the same repository, and not from forks.
     if: github.event.pull_request.head.repo.full_name == github.repository
     name: calibreapp/image-actions
     runs-on: ubuntu-latest
+    permissions:
+      # allow calibreapp/image-actions to update PRs
+      pull-requests: write
     steps:
       - name: Checkout Repo
         uses: actions/checkout@v3