mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
add workflow to update flakes
This commit is contained in:
parent
3a2686f358
commit
0bb791e622
1 changed files with 19 additions and 0 deletions
19
.github/workflows/upgrade-flakes.yml
vendored
Normal file
19
.github/workflows/upgrade-flakes.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: "Update flakes"
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '51 2 * * 0'
|
||||
jobs:
|
||||
createPullRequest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v9
|
Loading…
Reference in a new issue