ci: add nix workflows
Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
65fc5d5ed7
commit
a26a2fd484
2 changed files with 72 additions and 0 deletions
28
.github/workflows/update-flake.yml
vendored
Normal file
28
.github/workflows/update-flake.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
name: Update flake.lock
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# run every saturday
|
||||
- cron: '0 0 * * 6'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nix
|
||||
uses: nixbuild/nix-quick-install-action@v26
|
||||
|
||||
- name: Update and create PR
|
||||
uses: DeterminateSystems/update-flake-lock@v20
|
||||
with:
|
||||
commit-msg: 'flake: update inputs'
|
||||
pr-title: 'flake: update inputs'
|
||||
token: ${{ github.token }}
|
Loading…
Add table
Add a link
Reference in a new issue