From 9b91badc6d9fb0999318246a2a86bdcb3035861c Mon Sep 17 00:00:00 2001 From: Alex <93376818+sashashura@users.noreply.github.com> Date: Thu, 1 Sep 2022 22:25:59 +0100 Subject: [PATCH 1/2] Update project-updater.yml Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com> --- .github/workflows/project-updater.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/project-updater.yml b/.github/workflows/project-updater.yml index ea98700e7fae9c..2b508044fe8536 100644 --- a/.github/workflows/project-updater.yml +++ b/.github/workflows/project-updater.yml @@ -6,8 +6,13 @@ on: - opened - labeled +permissions: + contents: read + jobs: add-to-project: + permissions: + repository-projects: write name: Add issues to projects runs-on: ubuntu-latest strategy: From 044420ffa7f4765af5a7136004a8d3207182740a Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 20 Sep 2022 19:27:34 +0100 Subject: [PATCH 2/2] Update project-updater.yml repository-projects: write is not needed because a separate secrets.ADD_TO_PROJECT_PAT is used --- .github/workflows/project-updater.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/project-updater.yml b/.github/workflows/project-updater.yml index 2b508044fe8536..4ded1be6c50dc4 100644 --- a/.github/workflows/project-updater.yml +++ b/.github/workflows/project-updater.yml @@ -11,8 +11,6 @@ permissions: jobs: add-to-project: - permissions: - repository-projects: write name: Add issues to projects runs-on: ubuntu-latest strategy: