Skip to content

ci: auto fix by prettier and build dist #1367

ci: auto fix by prettier and build dist

ci: auto fix by prettier and build dist #1367

Workflow file for this run

name: test
on: pull_request
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}}
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/*.yaml
- aqua/aqua-checksums.json
- .github/workflows/test.yaml
renovate-config-validator:
- renovate.json5
- .github/workflows/test.yaml
- .github/workflows/wc-renovate-config-validator.yaml
ghalint:
- .github/workflows/*.yaml
- aqua/ghalint.yaml
build-schema:
- .github/workflows/test.yaml
- .github/workflows/wc-deploy-schema.yaml
- schema/**
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
needs:
- update-aqua-checksums
- renovate-config-validator
- ghalint
- build-schema
- create-pr-branch
- prettier
permissions: {}
if: failure()
steps:
- run: exit 1
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}}
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
ghalint:
needs: path-filter
if: needs.path-filter.outputs.ghalint == 'true'
uses: ./.github/workflows/wc-ghalint.yaml
permissions: {}
build-schema:
uses: ./.github/workflows/wc-deploy-schema.yaml
permissions:
contents: write
create-pr-branch:
uses: ./.github/workflows/wc-create-pr-branch.yaml
if: github.event.pull_request.user.login == 'suzuki-shunsuke'
permissions:
contents: write
pull-requests: write
with:
pr: ${{github.event.pull_request.number}}
secrets:
gh_app_id: ${{secrets.APP_ID}}
gh_app_private_key: ${{secrets.APP_PRIVATE_KEY}}
prettier:
uses: ./.github/workflows/wc-prettier.yaml
permissions: {}
secrets:
gh_app_id: ${{secrets.APP_ID}}
gh_app_private_key: ${{secrets.APP_PRIVATE_KEY}}