1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-04-09 02:14:08 +00:00

Merge pull request #177 from Mic92/docs

add workflow to update flakes
This commit is contained in:
Jörg Thalheim 2022-05-13 22:47:08 +01:00 committed by GitHub
commit 2c1dd416cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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