meta: tweak update-flake-lock action

This commit is contained in:
Max Headroom 2022-08-27 02:41:30 +02:00 committed by GitHub
parent 6a01be61bf
commit 1b0e696270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
name: update-flake-lock
name: Update flake.lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
- cron: '0 0 * * 0'
jobs:
lockfile:
@ -12,7 +12,11 @@ jobs:
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v16
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d')"
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v13
with:
pr-title: "Update flake.lock" # Title of PR to be created
pr-title: "Updates ${{ steps.date.outputs.date }}"
branch: "updates-${{ steps.date.outputs.date }}"