mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
workflows/update: Init
This commit is contained in:
parent
a0b966ed42
commit
f45a39b189
1 changed files with 18 additions and 0 deletions
18
.github/workflows/update.yml
vendored
Normal file
18
.github/workflows/update.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
name: "Update"
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 4 * * 1,3,6" # Mon, Wed, Sat at 04:00 UTC
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5
|
||||||
|
- uses: cachix/install-nix-action@v31
|
||||||
|
- run: |
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
nix flake update --commit-lock-file
|
||||||
|
git push
|
||||||
Loading…
Add table
Add a link
Reference in a new issue