From f1b25f2d89452611bd042c8d8f3cdebe691ed28b Mon Sep 17 00:00:00 2001 From: vdovhanych Date: Sat, 22 Jan 2022 12:12:51 +0100 Subject: [PATCH] (ci): set permissions for github token on workflow --- .github/workflows/project_automation.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/project_automation.yml b/.github/workflows/project_automation.yml index 42d66d11e..e85bcbb8f 100644 --- a/.github/workflows/project_automation.yml +++ b/.github/workflows/project_automation.yml @@ -1,5 +1,13 @@ name: Add to GitHub Project + on: [issues, pull_request] + +permissions: + contents: read + pull-requests: write + issues: write + repository-projects: write + jobs: github-actions-automate-projects: runs-on: ubuntu-latest