Skip to content

Commit

Permalink
ci: update flake file automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Oct 24, 2024
1 parent 58f608e commit 3f15a77
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: flake

"on":
workflow_dispatch:
schedule:
- cron: "0 8 * * 1"

permissions:
contents: write

jobs:
flake:
runs-on: ubuntu-latest

steps:
- name: Checkout source
id: source
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}

- name: Install nix
id: nix
uses: cachix/install-nix-action@v30

- name: Update flake
id: flake
run: nix flake update

- name: Source rebase
id: rebase
run: git pull --autostash --rebase

- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Actions
author_email: github@webhippie.de
add: flake.lock
message: "chore(flake): updated lockfile [skip ci]"
push: true
commit: --signoff

...

0 comments on commit 3f15a77

Please sign in to comment.