Add .gitea/workflows/update.yml
All checks were successful
Nix Build / build-nixos (push) Successful in 26m11s
All checks were successful
Nix Build / build-nixos (push) Successful in 26m11s
This commit is contained in:
parent
177c26e41d
commit
35626de702
30
.gitea/workflows/update.yml
Normal file
30
.gitea/workflows/update.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: update-flake-lock
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 2 * * 6,7'
|
||||||
|
|
||||||
|
|
||||||
|
env:
|
||||||
|
USER: "runner"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lockfile:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Install nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@v7
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||||
|
extra_nix_config: |
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
- name: Update flake.lock
|
||||||
|
uses: DeterminateSystems/update-flake-lock@v20
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GT_TOKEN_FOR_UPDATES }}
|
||||||
|
pr-title: "[chore] Update flake.lock"
|
||||||
|
pr-labels: |
|
||||||
|
dependencies
|
||||||
|
automated
|
Loading…
x
Reference in New Issue
Block a user