Automated update #1
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 Nixpkgs pin | |
on: | |
workflow_dispatch: # Allows triggering manually | |
schedule: | |
- cron: '47 14 * * *' # runs every day at 14:47 UTC (chosen somewhat randomly) | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v26 | |
- name: update | |
run: | | |
nix-build -A pkgs.npins | |
result/bin/npins update nixpkgs | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: "Automated Nixpkgs update" | |
branch: auto-nixpkgs-update | |
title: "Automated Nixpkgs update" | |
body: "Update the pinned Nixpkgs automatically" |