build(deps): bump click-extra from 7.9.0 to 7.10.0 #21
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # 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 Renovate config files. | |
| name: validate renovate config | |
| permissions: {} | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: true | |
| jobs: | |
| validate-renovate: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Find additional files | |
| id: find-files | |
| run: | | |
| files=$(find . -type f -iname "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 | |
| if: steps.find-files.outputs.found != '' | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version: latest | |
| - name: Install npm dependencies | |
| if: steps.find-files.outputs.found != '' | |
| run: npm install --ignore-scripts | |
| - name: renovate config validator | |
| if: 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} |