Skip to content

chore(flake.lock): Update all Flake inputs (2025-10-12) #82

chore(flake.lock): Update all Flake inputs (2025-10-12)

chore(flake.lock): Update all Flake inputs (2025-10-12) #82

name: Trigger Downstream Flake Update on Push to Main
on:
push:
branches:
- main # Or the branch you want to track
jobs:
trigger-downstream-repo:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- repo: 'metacraft-labs/nix-blockchain-development'
steps:
- uses: tibdex/github-app-token@v2.1.0
id: generate-token
with:
app_id: ${{ secrets.CREATE_PR_APP_ID }}
private_key: ${{ secrets.CREATE_PR_APP_PRIVATE_KEY }}
- name: Trigger Downstream Pipeline
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ steps.generate-token.outputs.token }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/${{ matrix.repo }}/dispatches" \
-d '{"event_type":"flake-update"}'