Skip to content

chore(deps): update actions/checkout action to v4.2.1 #45

chore(deps): update actions/checkout action to v4.2.1

chore(deps): update actions/checkout action to v4.2.1 #45

Workflow file for this run

---
name: pull_request
on: pull_request
permissions: {}
jobs:
path-filter:
# Get changed files to filter jobs
timeout-minutes: 30
outputs:
renovate-config-validator: ${{steps.changes.outputs.renovate-config-validator}}
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
with:
filters: |
renovate-config-validator:
- renovate.json5
- .github/workflows/pull_request.yaml
- .github/workflows/wc-renovate-config-validator.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:
uses: ./.github/workflows/wc-status-check.yaml
permissions: {}
if: failure()
needs:
- renovate-config-validator
- test
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
test:
uses: ./.github/workflows/wc-test.yaml
permissions: {}