mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
renovate
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
name: Renovate
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
# Every day at 03:00 JST (18:00 UTC on the previous day).
|
||||||
|
- cron: "0 18 * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
concurrency:
|
||||||
|
group: renovate
|
||||||
|
cancel-in-progress: false
|
||||||
|
jobs:
|
||||||
|
renovate:
|
||||||
|
name: Update Nix flake inputs
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 60
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/[email protected]
|
||||||
|
# Use a PAT or GitHub App token so Renovate PRs trigger the other workflows.
|
||||||
|
- name: Run Renovate
|
||||||
|
uses: renovatebot/[email protected]
|
||||||
|
with:
|
||||||
|
renovate-version: 43.262.1
|
||||||
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
env:
|
||||||
|
LOG_LEVEL: info
|
||||||
|
RENOVATE_PLATFORM: github
|
||||||
|
RENOVATE_REPOSITORIES: ${{ github.repository }}
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
!/flake.nix
|
!/flake.nix
|
||||||
!/flake.lock
|
!/flake.lock
|
||||||
|
!/renovate.json
|
||||||
|
|
||||||
!shells/
|
!shells/
|
||||||
!hosts/
|
!hosts/
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": ["config:recommended"],
|
||||||
|
"enabledManagers": ["nix"],
|
||||||
|
"nix": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"prCreation": "immediate",
|
||||||
|
"semanticCommits": "enabled",
|
||||||
|
"semanticCommitType": "chore",
|
||||||
|
"semanticCommitScope": "deps",
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"description": "Group Nix flake input updates",
|
||||||
|
"matchManagers": ["nix"],
|
||||||
|
"groupName": "Nix flake inputs",
|
||||||
|
"groupSlug": "nix-flake-inputs"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user