feat: configure nix update and renovate pipeline (#6)
Create pipelines to run Renovate and Nix Flake lock updates.
This commit is contained in:
parent
74172fd7e7
commit
1465a19ce2
3 changed files with 46 additions and 0 deletions
16
.github/workflows/renovate.yaml
vendored
Normal file
16
.github/workflows/renovate.yaml
vendored
Normal 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
22
.github/workflows/update-flake.yaml
vendored
Normal 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
|
||||
8
renovate.json5
Normal file
8
renovate.json5
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"platform": "github",
|
||||
"semanticCommits": true,
|
||||
"labels": ["renovate"],
|
||||
"repositories": ["dc-tec/k8s-gitops"],
|
||||
"extends": ["config:recommended"],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue