enable github workflow for creating crev-exemptions for dependabots to push to the repository

This commit is contained in:
David Niehues
2025-04-14 11:30:36 +02:00
parent 03e408b7c2
commit 108ca440fe

View File

@@ -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 }}