Create main.yml

This commit is contained in:
Tyler 2025-01-19 20:39:43 -05:00 committed by GitHub
parent bf14ab604e
commit e23316f7f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

21
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Update flake.lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/update-flake-lock@v24
with:
pr-title: "Update flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
dependencies
automated
token: ${{ secrets.FLAKE_PR_TOKEN }}