From b9b89aa4f1aba46dd6b2a42f6d18b96dc05fd099 Mon Sep 17 00:00:00 2001 From: Milos Zivkovic Date: Thu, 18 Jan 2024 15:16:28 +0100 Subject: [PATCH] Attempt to fix dependabot tidy --- .github/workflows/dependabot-tidy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/dependabot-tidy.yml b/.github/workflows/dependabot-tidy.yml index e13390fa831..9db199a9605 100644 --- a/.github/workflows/dependabot-tidy.yml +++ b/.github/workflows/dependabot-tidy.yml @@ -11,6 +11,8 @@ jobs: tidy_go_mods: runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} + permissions: + contents: write steps: - name: Checkout code uses: actions/checkout@v4 @@ -36,6 +38,8 @@ jobs: - name: Commit changes, if any uses: stefanzweifel/git-auto-commit-action@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: skip_dirty_check: false # Enable dirty check, and skip unnecessary committing commit_message: "Run 'go mod tidy' via GitHub Actions"