Skip to content

chore(deps): update dependency renovate to v44.227.4 #17

chore(deps): update dependency renovate to v44.227.4

chore(deps): update dependency renovate to v44.227.4 #17

---
# This workflow is centrally managed in https://github.com/<organization>/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.
# Validate Dependabot and Renovate configuration and run repository tests.
name: Configuration validation and tests
permissions: {}
on:
pull_request:
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
validate:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Find Renovate configuration files
id: find-files
run: |
files=$(find . -type f \( -iname "renovate*.json*" -o -ipath "./renovate/*.json*" \))
echo "found files: $files"
# shellcheck disable=SC2086 # do not quote to keep this as a single line
echo found=${files} >> "${GITHUB_OUTPUT}"
- name: Setup Node
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: '24'
- name: Install npm dependencies
id: install
run: npm ci --ignore-scripts
- name: Validate Dependabot configuration
if: ${{ !cancelled() && steps.install.outcome == 'success' }}
run: npm run validate-dependabot
- name: Validate Renovate configuration
if: >-
!cancelled() &&
steps.install.outcome == 'success' &&
steps.find-files.outputs.found != ''
run: |
# disable error exit code
set +e
status=0
for FILE in ${{ steps.find-files.outputs.found }}; do
file_status=0
npm run validate-renovate -- ${FILE} || file_status=$?
# set github step summary
if [ $file_status -ne 0 ]; then
echo ":x: ${FILE}: failed" >> "${GITHUB_STEP_SUMMARY}"
status=1
else
echo ":white_check_mark: ${FILE}: passed" >> "${GITHUB_STEP_SUMMARY}"
fi
done
# exit with error if any file failed
exit ${status}
- name: Run tests
if: ${{ !cancelled() && steps.install.outcome == 'success' }}
run: npm test