1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-15 17:50:51 +00:00

add workflow to update flakes

This commit is contained in:
Jörg Thalheim 2022-05-13 23:44:49 +02:00
parent 3a2686f358
commit 0bb791e622
No known key found for this signature in database

19
.github/workflows/upgrade-flakes.yml vendored Normal file
View 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