Update Flake Lock #4
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 Flake Lock | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' # Runs weekly on Sunday at 00:00 | |
jobs: | |
update-flake-lock: | |
name: Update Flake Lock | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Update flake.lock | |
id: update | |
uses: DeterminateSystems/update-flake-lock@v21 | |
- name: Enable Pull Request Auto-Merge | |
uses: peter-evans/enable-pull-request-automerge@v3 | |
if: steps.update.outputs.pull-request-operation == 'created' | |
with: | |
pull-request-number: ${{ steps.update.outputs.pull-request-number }} | |
merge-method: squash | |
token: ${{ secrets.GITHUB_TOKEN }} |