From 1be469a40e27c446c0c2b5ef1e3f677bed8aeece Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 22 Jan 2025 17:24:00 +0200 Subject: [PATCH] fix(ci): stale workflow permissions --- .github/workflows/stale.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 112ecb4..b68fc19 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,18 +1,16 @@ --- name: Stale -# yamllint disable-line rule:truthy on: schedule: - cron: "0 8 * * *" workflow_call: workflow_dispatch: -permissions: - contents: write # only for delete-branch option - issues: write - pull-requests: write - jobs: stale: + permissions: + contents: write + issues: write + pull-requests: write uses: ivuorinen/.github/.github/workflows/stale.yml@main