Automated update #5
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 autoPrUpdate | |
result/bin/auto-pr-update > body | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
# To trigger CI for automated PRs, we use a separate machine account | |
# See https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#workarounds-to-trigger-further-workflow-runs | |
# and https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#push-pull-request-branches-to-a-fork | |
token: ${{ secrets.MACHINE_USER_PAT }} | |
push-to-fork: infinixbot/nixpkgs-check-by-name | |
committer: infinixbot <[email protected]> | |
author: infinixbot <[email protected]> | |
commit-message: "Automated update" | |
branch: auto-update | |
title: "Automated update" | |
body-path: body |