Update Flake Inputs #136
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 Flake Inputs | |
on: | |
schedule: | |
- cron: '5 3 * * 0' | |
workflow_dispatch: | |
jobs: | |
update-flake: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
extra-platforms = aarch64-linux arm-linux | |
- name: Update Nix Flake Inputs | |
run: nix flake update | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
with: | |
token: ${{ secrets.PTOKEN }} | |
base: master | |
branch: update/flake-update | |
delete-branch: true | |
commit-message: Update flake.lock | |
title: Update flake.lock |