Update dependencies #782
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 dependencies | |
on: | |
schedule: | |
- cron: '0 14 * * 1,3,5' | |
workflow_dispatch: | |
jobs: | |
niv_update: | |
name: Update dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ssh-key: ${{ secrets.FLAKE_UPDATE_SSH_KEY }} | |
- uses: cachix/install-nix-action@v15 | |
with: | |
extra_nix_config: | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: Flake update | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
nix flake update --commit-lock-file | |
- uses: peter-evans/create-pull-request@v3 | |
name: Create PR | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: flake-update | |
title: Automated flake update | |