From 1faf1422148a4ea14fbaf97cf569601c19ae87a2 Mon Sep 17 00:00:00 2001 From: Ben Banfield-Zanin Date: Tue, 1 Jul 2025 15:56:34 +0100 Subject: [PATCH] Be explicit about actions: read to download artifacts --- .github/workflows/templates-dyff-comment.yml | 6 ++++-- newsfragments/594.internal.md | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 newsfragments/594.internal.md diff --git a/.github/workflows/templates-dyff-comment.yml b/.github/workflows/templates-dyff-comment.yml index 0cdd96e5..feddc8b0 100644 --- a/.github/workflows/templates-dyff-comment.yml +++ b/.github/workflows/templates-dyff-comment.yml @@ -9,11 +9,13 @@ on: types: - completed +permissions: + actions: read + pull-requests: write + jobs: manage-comment: runs-on: ubuntu-latest - permissions: - pull-requests: write if: github.event.workflow_run.conclusion == 'success' steps: - name: Download dyff of templates diff --git a/newsfragments/594.internal.md b/newsfragments/594.internal.md new file mode 100644 index 00000000..cc2291ec --- /dev/null +++ b/newsfragments/594.internal.md @@ -0,0 +1 @@ +CI: allow dyff job to work on forks.