chore(deps): update dependency aquaproj/aqua to v2.36.2 #708
Workflow file for this run
This file contains 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: test | |
on: pull_request | |
permissions: {} | |
jobs: | |
path-filter: | |
# Get changed files to filter jobs | |
timeout-minutes: 30 | |
outputs: | |
update-aqua-checksums: ${{steps.changes.outputs.update-aqua-checksums}} | |
renovate-config-validator: ${{steps.changes.outputs.renovate-config-validator}} | |
ghalint: ${{steps.changes.outputs.ghalint}} | |
go-mod-tidy: ${{steps.changes.outputs.go-mod-tidy}} | |
runs-on: ubuntu-latest | |
permissions: {} | |
steps: | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
id: changes | |
with: | |
filters: | | |
update-aqua-checksums: | |
- aqua/aqua.yaml | |
- aqua/imports/*.yaml | |
- aqua/aqua-checksums.json | |
- .github/workflows/test.yaml | |
- .github/workflows/wc-update-aqua-checksums.yaml | |
renovate-config-validator: | |
- renovate.json5 | |
- .github/workflows/test.yaml | |
- .github/workflows/wc-renovate-config-validator.yaml | |
ghalint: | |
- .github/workflows/*.yaml | |
- aqua/aqua.yaml | |
- aqua/imports/ghalint.yaml | |
- ghalint.yaml | |
go-mod-tidy: | |
- go.mod | |
- go.sum | |
- "**.go" | |
- .github/workflows/test.yaml | |
- .github/workflows/wc-go-mod-tidy.yaml | |
enable-automerge: | |
uses: ./.github/workflows/wc-enable-auto-merge.yaml | |
needs: | |
- status-check | |
permissions: | |
contents: write # For enable automerge | |
pull-requests: write # For enable automerge | |
# "! failure() && ! cancelled()" is required. success() returns false if dependent jobs are skipped. | |
# https://github.com/community/community/discussions/45058 | |
# By default success() is used so we have to override success() by "! failure() && ! cancelled()" | |
if: | | |
! failure() && ! cancelled() && github.event.pull_request.user.login == 'renovate[bot]' && contains(github.event.pull_request.body, ' **Automerge**: Enabled.') | |
secrets: | |
gh_app_id: ${{secrets.APP_ID}} | |
gh_app_private_key: ${{secrets.APP_PRIVATE_KEY}} | |
status-check: | |
# This job is used for main branch's branch protection rule's status check. | |
# If all dependent jobs succeed or are skipped this job succeeds. | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
permissions: {} | |
if: failure() | |
steps: | |
- run: exit 1 | |
needs: | |
- renovate-config-validator | |
- update-aqua-checksums | |
- ghalint | |
- test | |
- go-mod-tidy | |
renovate-config-validator: | |
uses: ./.github/workflows/wc-renovate-config-validator.yaml | |
needs: path-filter | |
if: needs.path-filter.outputs.renovate-config-validator == 'true' | |
permissions: | |
contents: read | |
update-aqua-checksums: | |
needs: path-filter | |
if: needs.path-filter.outputs.update-aqua-checksums == 'true' | |
uses: ./.github/workflows/wc-update-aqua-checksums.yaml | |
permissions: | |
contents: read | |
secrets: | |
gh_app_id: ${{secrets.APP_ID}} | |
gh_app_private_key: ${{secrets.APP_PRIVATE_KEY}} | |
ghalint: | |
needs: path-filter | |
if: needs.path-filter.outputs.ghalint == 'true' | |
uses: ./.github/workflows/wc-ghalint.yaml | |
permissions: {} | |
test: | |
uses: ./.github/workflows/wc-test.yaml | |
needs: path-filter | |
permissions: {} | |
go-mod-tidy: | |
uses: ./.github/workflows/wc-go-mod-tidy.yaml | |
needs: path-filter | |
if: needs.path-filter.outputs.go-mod-tidy == 'true' | |
secrets: | |
gh_app_id: ${{secrets.APP_ID}} | |
gh_app_private_key: ${{secrets.APP_PRIVATE_KEY}} | |
permissions: | |
contents: read |