Validate gh-readonly-queue/main/pr-555-1381f6487d64bd312ebb86d0d78abf66cb437ef1 #115
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: Merge a Pull-Request Flow | |
run-name: Validate ${{ github.ref_name }} | |
on: | |
workflow_call: | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
check-if-docs-only: | |
uses: ./.github/workflows/task-check-docs.yml | |
jammy: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/task-unit-test.yml | |
with: | |
container: ubuntu:jammy | |
focal: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/task-unit-test.yml | |
with: | |
container: ubuntu:focal | |
bionic: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/task-unit-test.yml | |
with: | |
container: ubuntu:bionic | |
bullseye: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/task-unit-test.yml | |
with: | |
container: debian:bullseye | |
amazonlinux2: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/amazon2.yml | |
mariner2: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/mariner2.yml | |
rocky8: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/task-unit-test.yml | |
with: | |
container: rockylinux:8 | |
rocky9: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/task-unit-test.yml | |
with: | |
container: rockylinux:9 | |
alpine3: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/alpine3.yml | |
macos: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/macos.yml | |
arm: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/arm.yml | |
secrets: inherit | |
coverage: | |
needs: [check-if-docs-only] | |
if: ${{ needs.check-if-docs-only.outputs.only-docs-changed == 'false' }} | |
uses: ./.github/workflows/coverage.yml | |
secrets: inherit | |
pr-validation: | |
needs: | |
- check-if-docs-only | |
- jammy | |
- focal | |
- bionic | |
- bullseye | |
- amazonlinux2 | |
- mariner2 | |
- rocky8 | |
- rocky9 | |
- alpine3 | |
- macos | |
- arm | |
- coverage | |
runs-on: ubuntu-latest | |
if: ${{ !cancelled() }} | |
steps: | |
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') | |
run: exit 1 |