-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (25 loc) · 855 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Bump flake.lock
on:
schedule:
- cron: "0 6 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v20
- run: nix flake update
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Bump flake.lock
branch: main
commit_options: '--no-verify --signoff'
file_pattern: flake.lock
commit_user_name: Flake Bot # defaults to "GitHub Actions"
#commit_user_email: [email protected] # defaults to "[email protected]"
commit_author: Flake Bot <[email protected]> # defaults to author of the commit that triggered the run
skip_dirty_check: false
skip_fetch: true