feat: configure nix update and renovate pipeline (#6)

Create pipelines to run Renovate and Nix Flake lock updates.
This commit is contained in:
Roel de Cort 2024-06-21 14:55:59 +02:00 committed by GitHub
parent 74172fd7e7
commit 1465a19ce2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 46 additions and 0 deletions

16
.github/workflows/renovate.yaml vendored Normal file
View file

@ -0,0 +1,16 @@
on:
schedule:
- cron: "30 00 * * 0"
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Renovate
uses: renovatebot/github-action@v40.1.12
with:
configurationFile: renovate.json5
renovate-version: full
token: ${{ secrets.RENOVATE_TOKEN }}

22
.github/workflows/update-flake.yaml vendored Normal file
View file

@ -0,0 +1,22 @@
on:
schedule:
- cron: "30 00 * * 1"
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Repository Checkout
uses: actions/checkout@v4
- name: Instal Nix
uses: DeterminateSystems/nix-installer-action@v1
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v22
with:
nix-options: --debug --log-format raw
pr-title: "deps: update flake.lock"
pr-labels: |
dependencies
automated