From cd0671789f20d9df13c213e53b61cb0a8062998c Mon Sep 17 00:00:00 2001 From: Nathaniel Caza Date: Thu, 30 Jan 2025 14:40:16 -0600 Subject: [PATCH] ci: update permissions for Dependabot auto-approve workflow --- .github/workflows/dep-autoapprove.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/dep-autoapprove.yml b/.github/workflows/dep-autoapprove.yml index bdb31ea1d9..85ac5afd5e 100644 --- a/.github/workflows/dep-autoapprove.yml +++ b/.github/workflows/dep-autoapprove.yml @@ -3,16 +3,13 @@ name: Dependabot auto-approve on: pull_request permissions: + contents: write pull-requests: write jobs: dependabot-approve: runs-on: ubuntu-latest if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'target/goalert' - permissions: - # Give the default GITHUB_TOKEN write permission to commit and push the - # added or changed files to the repository. - contents: write steps: - uses: actions/setup-go@v5 with: