Update flakes #140
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: | |
repository_dispatch: | |
workflow_dispatch: | |
schedule: | |
- cron: '51 2 * * 0' | |
permissions: | |
pull-requests: write | |
jobs: | |
createPullRequest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: Update flakes | |
run: | | |
nix flake update | |
pushd dev/private | |
nix flake update | |
popd | |
nix run .#update-dev-private-narHash | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 |