This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
update flakes #23
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: update flakes | |
on: | |
workflow_dispatch: # allows manual triggering | |
schedule: | |
- cron: '0 3 * * 1' # runs weekly on Monday at 04:00 UTC | |
jobs: | |
lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/[email protected] | |
- name: install Nix | |
uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # v24 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: update flake.lock | |
uses: DeterminateSystems/update-flake-lock@v20 | |
with: | |
token: ${{ secrets.NIX_FLAKES_UPDATE_TOKEN }} | |
# inputs: "nixpkgs nixpkgs-master home darwin" | |
pr-title: "chore(flake): update flake.lock" | |
commit-msg: "chore(flake): update flake.lock" | |
branch: "update_flake" | |
git-author-name: "JesusMtnez[bot]" | |
git-author-email: "github-actions[bot]@users.noreply.github.com" | |
git-committer-name: "JesusMtnez[bot]" | |
git-committer-email: "github-actions[bot]@users.noreply.github.com" |