Sync channels #181
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
# Adapted from https://github.com/numtide/nixpkgs-unfree/blob/main/.github/workflows/sync.yml | |
name: Sync channels | |
on: | |
schedule: | |
- cron: "15 11 * * *" # daily | |
workflow_dispatch: # on button click | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: cachix/install-nix-action@v15 | |
- name: Update flake.lock | |
uses: DeterminateSystems/update-flake-lock@main | |
with: | |
pr-title: "nix: update flake.lock" | |
pr-labels: | | |
nix | |
token: ${{ secrets.GIT_PUSH_PAT }} |