diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 4c39a33..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - commit-message: - prefix: "ci" diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml new file mode 100644 index 0000000..5387914 --- /dev/null +++ b/.github/workflows/actionlint.yml @@ -0,0 +1,24 @@ +name: actionlint + +# Lints workflow files so Renovate (and humans) have a real green signal before +# merging changes to the actions that power other repos. Mark this check as +# required in branch protection to gate auto-merge on it. + +on: + pull_request: + paths: + - ".github/workflows/**" + workflow_dispatch: + +permissions: + contents: read + +jobs: + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - name: Run actionlint + uses: docker://rhysd/actionlint:1.7.12 + with: + args: -color diff --git a/default.json b/default.json new file mode 100644 index 0000000..614da0e --- /dev/null +++ b/default.json @@ -0,0 +1,32 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Shared Renovate preset for getnodus repositories.", + "extends": [ + "config:recommended", + "helpers:pinGitHubActionDigests", + ":dependencyDashboard", + ":semanticCommits" + ], + "minimumReleaseAge": "3 days", + "prHourlyLimit": 0, + "labels": ["dependencies"], + "packageRules": [ + { + "description": "Auto-merge non-major updates; platform auto-merge waits for required checks.", + "matchUpdateTypes": ["minor", "patch", "pin", "digest"], + "automerge": true, + "platformAutomerge": true + }, + { + "description": "Bundle all GitHub Actions updates into one PR.", + "matchManagers": ["github-actions"], + "groupName": "github-actions" + }, + { + "description": "Major updates always require manual review.", + "matchUpdateTypes": ["major"], + "automerge": false, + "addLabels": ["major-update"] + } + ] +} diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..8279e5e --- /dev/null +++ b/renovate.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["github>getnodus/.github"] +}