From 7db228456445f3f828464cdccf545e1ab20343c5 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 9 Dec 2022 03:49:15 +0200 Subject: [PATCH] build: harden calibreapp-image-actions.yml permissions (#4555) Signed-off-by: Alex Signed-off-by: Alex --- .github/workflows/calibreapp-image-actions.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml index 4294cc0bd..d70ba3de9 100644 --- a/.github/workflows/calibreapp-image-actions.yml +++ b/.github/workflows/calibreapp-image-actions.yml @@ -24,8 +24,13 @@ on: workflow_dispatch: schedule: - cron: "00 20 * * 0" +permissions: {} jobs: build: + permissions: + contents: write + pull-requests: write # to comment on pull request + name: calibreapp/image-actions runs-on: ubuntu-latest # Only run on main repo on and PRs that match the main repo.