Update flake inputs #57
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: | |
workflow_dispatch: # allow manual triggering | |
schedule: | |
- cron: '0 0 1-31/3 * *' # runs every third day | |
jobs: | |
update-flake-lock: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
with: | |
extra_nix_config: | | |
auto-optimise-store = true | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: Install SSH Key | |
uses: webfactory/ssh-agent@v0.9.0 | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Update flake.lock | |
uses: DeterminateSystems/update-flake-lock@v23 | |
with: | |
pr-title: 'update flake.lock' | |
commit-msg: '⚙️ bump flake.lock' | |
pr-asignees: Multipixelone | |
pr-labels: automated | |
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} |