From e63d1911399abce16a5bdaf7fbeede8544befd59 Mon Sep 17 00:00:00 2001 From: Dmitrii Bobreshev <106314398+DmitriiBobreshev@users.noreply.github.com> Date: Fri, 26 Jan 2024 11:08:05 +0100 Subject: [PATCH] Update github workflows to avoid issues with GITHUB_TOKEN (#4610) - Added write permissions in gh workflow --- .github/workflows/autoAssignABTT.yml | 2 ++ .github/workflows/localization-automerge.yml | 3 ++- .github/workflows/stale.yml | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autoAssignABTT.yml b/.github/workflows/autoAssignABTT.yml index e1b3334b7c..3c8df18b8e 100644 --- a/.github/workflows/autoAssignABTT.yml +++ b/.github/workflows/autoAssignABTT.yml @@ -8,6 +8,8 @@ on: jobs: assign_one_project: runs-on: ubuntu-latest + permissions: + issues: write name: Assign to ABTT Project steps: - name: "Add triage and area labels" diff --git a/.github/workflows/localization-automerge.yml b/.github/workflows/localization-automerge.yml index eb41278434..562f299dd9 100644 --- a/.github/workflows/localization-automerge.yml +++ b/.github/workflows/localization-automerge.yml @@ -10,7 +10,8 @@ on: jobs: worker: runs-on: ubuntu-latest - + permissions: + issues: write if: github.actor == 'csigs' steps: - uses: actions-ecosystem/action-add-labels@v1 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 7c6f923b67..c13ec8984a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -8,7 +8,8 @@ jobs: stale: runs-on: ubuntu-latest - + permissions: + issues: write steps: - uses: actions/stale@v3 with: