From 7375ce1fde49dcc2cbc043c3e10885b90d52a55a Mon Sep 17 00:00:00 2001 From: Dmitrii Bobreshev <106314398+DmitriiBobreshev@users.noreply.github.com> Date: Fri, 26 Jan 2024 11:56:55 +0100 Subject: [PATCH] Update github workflows to avoid issues with GITHUB_TOKEN (#366) - Added write permissions in gh workflow --- .github/workflows/autoAssignABTT.yml | 2 ++ .github/workflows/stale.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autoAssignABTT.yml b/.github/workflows/autoAssignABTT.yml index 306f61d..a42e6f6 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/stale.yml b/.github/workflows/stale.yml index 5f72a78..f1f7ae8 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,7 +9,8 @@ jobs: stale: runs-on: ubuntu-latest - + permissions: + issues: write steps: - uses: actions/stale@v1 with: