Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 5 additions & 24 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Renovate
name: Renovate Config Validation

on:
push:
Expand All @@ -10,28 +10,9 @@ on:
paths:
- renovate.json

permissions: {}
permissions:
contents: read

jobs:
renovate-config-validator:
name: Config validation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
sparse-checkout: |
renovate.json
.nvmrc

- uses: voidzero-dev/setup-vp@3754dd7dbdb32bd8f6d28b6043de13ad3a75f21f # v1.21.1
with:
cache: true
run-install: 'false'
node-version-file: '.nvmrc'

- name: Validate Renovate config
# pnpm 12 dlx ignores workspace allowBuilds (installs under ~/.cache/pnpm/dlx)
# and fails with ERR_PNPM_IGNORED_BUILDS for renovate's optional addons.
run: npx --yes --ignore-scripts --package renovate -- renovate-config-validator
validate:
uses: gitify-app/.github/.github/workflows/renovate-config-validator.yml@000f921e8c370889fa00093ce9ce910fcefcc470 # main
6 changes: 1 addition & 5 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>gitify-app/.github", "group:vitePlus"],
"extends": ["github>gitify-app/.github", "helpers:disableTypesNodeMajor"],
"packageRules": [
{
"matchDepTypes": ["engines"],
"rangeStrategy": "auto"
},
{
"description": "Fetch changelog details for twemoji packages",
"matchPackageNames": ["@discordapp/twemoji"],
Expand Down
Loading