Repository navigation
Merge pull request #39 from Luap99/image #21
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
| name: "Validate" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| renovate: | |
| name: "check renovate configs" | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: "validate renovate configs" | |
| run: | | |
| for file in ./renovate/defaults.json5 .github/renovate.json5; do | |
| podman run -v "$file":/usr/src/app/renovate.json5 ghcr.io/renovatebot/renovate:latest renovate-config-validator --strict | |
| done |