mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 09:13:55 -05:00
Create main.yml
This commit is contained in:
parent
9d1d1094fe
commit
5102eccad9
32
.github/workflows/main.yml
vendored
Normal file
32
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,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: my-github-actions-bot@example.org # defaults to "actions@github.com"
|
||||||
|
commit_author: Flake Bot <actions@github.com> # defaults to author of the commit that triggered the run
|
||||||
|
skip_dirty_check: false
|
||||||
|
skip_fetch: true
|
Loading…
Reference in a new issue