mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
update flake every month
This commit is contained in:
parent
f33d643d2f
commit
88a7026b13
1 changed files with 20 additions and 0 deletions
20
.github/workflows/upgrade-flakes.yml
vendored
Normal file
20
.github/workflows/upgrade-flakes.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: "Update flakes"
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
# monthly updates
|
||||
schedule:
|
||||
- cron: '0 10 1 * 0'
|
||||
jobs:
|
||||
createPullRequest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v16
|
||||
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@v8
|
||||
Loading…
Add table
Add a link
Reference in a new issue