Skip to content

Commit

Permalink
try fetchgit with app token
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyEnr1quez committed Dec 23, 2024
1 parent 2dc359e commit 8ce6aae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-nix-fetchgit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/create-github-app-token@v1.11.1
id: generate-token
with:
app-id: ${{ secrets.CPR_APP_ID }}
private-key: ${{ secrets.CPR_APP_PRIVATE_KEY }}

- name: Install Nix
uses: cachix/install-nix-action@v30
with:
Expand All @@ -33,6 +39,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: Update fetchgit* refs
title: 'Update fetchgit* refs'
draft: false
Expand Down

0 comments on commit 8ce6aae

Please sign in to comment.