ci/update-vendor-hash: use github app token

otherwise auto-merge doesn't work
This commit is contained in:
Jörg Thalheim 2025-03-13 11:04:24 +01:00 committed by Jörg Thalheim
parent ec6368b3fb
commit 33c99f6cc9

View file

@ -1,18 +1,20 @@
name: Update vendorHash
on: pull_request
permissions:
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.CI_APP_ID }}
private-key: ${{ secrets.CI_APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
- name: Install Nix
uses: cachix/install-nix-action@v31
with: