This repository has been archived by the owner on Nov 28, 2024. It is now read-only.
Sync channels #217
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 }} |