From 4fb6a012c414e27a67bfc828cfc18c07960d7dd8 Mon Sep 17 00:00:00 2001 From: Rachel Whitton Date: Wed, 17 Apr 2024 16:53:53 -0500 Subject: [PATCH] Debug failing "Add to project" action Related changelog entry: https://github.blog/changelog/2023-02-02-github-actions-updating-the-default-github_token-permissions-to-read-only/ https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions --- .github/workflows/auto-add-issues.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-add-issues.yml b/.github/workflows/auto-add-issues.yml index de2068a382..0bcfdae74e 100644 --- a/.github/workflows/auto-add-issues.yml +++ b/.github/workflows/auto-add-issues.yml @@ -3,6 +3,10 @@ on: [issues, pull_request] jobs: github-actions-automate-projects: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + repository-projects: write steps: - name: add-new-issues-to-repository-based-project-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 @@ -11,5 +15,3 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/orgs/pantheon-systems/projects/18/ GITHUB_PROJECT_COLUMN_NAME: Inbox - -