Skip to content

Commit

Permalink
ci: Update "Update flake lock" action.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored and jtojnar committed Jan 21, 2022
1 parent 5978a2b commit cd52418
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/upgrade-flakes.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
name: 'Update flakes'

name: Update Flake lockfile
on:
workflow_dispatch:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '51 2 * * 0'
- cron: "51 2 * * 0"

jobs:
createPullRequest:
uses: loophp/flake-lock-update-workflow/.github/workflows/upgrade-flakes.yaml@main
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Install Nix
uses: cachix/install-nix-action@v16

- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v6

0 comments on commit cd52418

Please sign in to comment.