From 5c86840c83a1fc52705e898946c587327bc50a97 Mon Sep 17 00:00:00 2001 From: Gareth Flowers Date: Sat, 24 Aug 2024 22:00:35 +0100 Subject: [PATCH] chore(github): improve dependabot workflow --- .github/workflows/dependabot-auto.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dependabot-auto.yml b/.github/workflows/dependabot-auto.yml index b208d73..35f33ac 100644 --- a/.github/workflows/dependabot-auto.yml +++ b/.github/workflows/dependabot-auto.yml @@ -1,16 +1,16 @@ name: Dependabot PR Approve and Merge on: pull_request_target permissions: - pull-requests: write contents: write + pull-requests: write jobs: dependabot: runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} steps: - - name: Dependabot metadata + - name: Dependabot Metadata id: dependabot-metadata - uses: dependabot/fetch-metadata@v2.2.0 + uses: dependabot/fetch-metadata@v1.1.1 with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Approve a PR