From 1d9bfae23f2f3d4173e0ab78137acc11da16670c Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 2 Jul 2022 20:23:54 -0400 Subject: [PATCH] .github/workflows/: set token permissions --- .github/workflows/cycles.yml | 2 ++ .github/workflows/stale.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/cycles.yml b/.github/workflows/cycles.yml index 0bd148e77f0..018c0909bdb 100644 --- a/.github/workflows/cycles.yml +++ b/.github/workflows/cycles.yml @@ -7,6 +7,8 @@ on: jobs: cycles: runs-on: ubuntu-latest + permissions: + issues: write container: image: 'ghcr.io/void-linux/xbps-src-masterdir:20220527RC01-x86_64-musl' steps: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 160897fedef..c55c7966a67 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,6 +9,9 @@ on: jobs: stale: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - uses: actions/stale@v4 with: