From 108ca440feff87ae8cc7664a09307c9abee98421 Mon Sep 17 00:00:00 2001 From: David Niehues <7667041+DavidNiehues@users.noreply.github.com> Date: Mon, 14 Apr 2025 11:30:36 +0200 Subject: [PATCH] enable github workflow for creating crev-exemptions for dependabots to push to the repository --- .github/workflows/cargo-crev-exemptions-dependabot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cargo-crev-exemptions-dependabot.yml b/.github/workflows/cargo-crev-exemptions-dependabot.yml index f253ac2..a8f97c0 100644 --- a/.github/workflows/cargo-crev-exemptions-dependabot.yml +++ b/.github/workflows/cargo-crev-exemptions-dependabot.yml @@ -11,6 +11,8 @@ jobs: dependabot-cargo-crev-exceptions: if: github.actor == 'dependabot[bot]' # Run only for Dependabot PRs runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout repository uses: actions/checkout@v4 @@ -56,3 +58,5 @@ jobs: git add supply-chain/* git commit -m "Regenerate cargo vet exemptions" git push origin ${{ github.head_ref }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}