Sync channels #998
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: Sync channels | |
on: | |
schedule: | |
- cron: "15 14 * * *" # daily | |
workflow_dispatch: # on button click | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
branch: | |
- nixos-unstable | |
- nixpkgs-unstable | |
- nixos-24.05 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Our ./sync.sh script needs the whole history | |
fetch-depth: 0 | |
- uses: cachix/install-nix-action@v30 | |
- name: configure git | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
- run: ./sync.sh ${{ matrix.branch }} | |