We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dbf268 commit 08143d3Copy full SHA for 08143d3
.github/workflows/trigger-downstream-flake-update.yml
@@ -14,11 +14,17 @@ jobs:
14
include:
15
- repo: 'metacraft-labs/nix-blockchain-development'
16
steps:
17
+ - uses: tibdex/[email protected]
18
+ id: generate-token
19
+ with:
20
+ app_id: ${{ secrets.CREATE_PR_APP_ID }}
21
+ private_key: ${{ secrets.CREATE_PR_APP_PRIVATE_KEY }}
22
+
23
- name: Trigger Downstream Pipeline
24
run: |
25
curl -L -X POST \
26
-H "Accept: application/vnd.github+json" \
- -H "Authorization: token ${{ github.token }}" \
27
+ -H "Authorization: token ${{ steps.generate-token.outputs.token }}" \
28
-H "X-GitHub-Api-Version: 2022-11-28" \
29
"https://api.github.com/repos/${{ matrix.repo }}/dispatches" \
30
-d '{"event_type":"flake-update"}'
0 commit comments