Update flakes #83
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: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 9 * * SUN,WED" | |
jobs: | |
lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v14 | |
- name: Update flake.lock | |
id: update | |
uses: DeterminateSystems/update-flake-lock@v24 | |
with: | |
pr-title: "Update flake.lock" # Title of PR to be created | |
pr-labels: | # Labels to be set on the PR | |
dependencies | |
automated | |
automerge | |
- name: Merge PR | |
uses: pascalgn/[email protected] | |
env: | |
MERGE_METHOD: "rebase" | |
MERGE_COMMIT_MESSAGE: "pull-request-title" | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
PULL_REQUEST: "${{ steps.update.outputs.pull-request-number }}" | |