Skip to content

Commit

Permalink
ci: update permissions for calibreapp-image-actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Nov 21, 2023
1 parent b1b0ef4 commit 60e9131
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/calibreapp-image-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: Clone repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 60e9131

Please sign in to comment.