This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
flake.lock: automatic update #231
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Trigger Update of floxpkgs internal" | |
on: | |
push: | |
branches: | |
- "master" | |
workflow_dispatch: | |
jobs: | |
update_inputs: | |
name: "Issue Update Request" | |
env: | |
INDEX: ${{ github.repository_owner }}/floxpkgs-internal | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Trigger to ${{ env.INDEX }} | |
# TODO: find out which token to use? | |
run: | | |
curl \ | |
-X POST \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-H "Authorization: Bearer ${{ secrets.NIX_GIT_TOKEN }}" \ | |
https://api.github.com/repos/${{ env.INDEX }}/actions/workflows/update-index.yml/dispatches \ | |
-d '{ "ref" : "master" }' |