Skip to content

Test only(Do not review): one main workflow, if fast feed back loop is success then trigger all other workflows #1

Test only(Do not review): one main workflow, if fast feed back loop is success then trigger all other workflows

Test only(Do not review): one main workflow, if fast feed back loop is success then trigger all other workflows #1

Workflow file for this run

name: Lan test a
on:
pull_request:
jobs:
pre-test:
runs-on: ubuntu-latest
steps:
- name: Pre-test
run: |
echo "Pre-test"
echo "${{ github.workflow }}-a-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}"
call-b:
uses: ./.github/workflows/workflow-b.yml

Check failure on line 16 in .github/workflows/test_a.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_a.yml

Invalid workflow file

error parsing called workflow ".github/workflows/test_a.yml" -> "./.github/workflows/workflow-b.yml" : failed to fetch workflow: workflow was not found.
call-c:
uses: ./.github/workflows/workflow-c.yml
wait-all-jobs:
needs: [call-b, call-c]
runs-on: ubuntu-latest
steps:
- name: Wait for all jobs to complete
run: |
echo "Waiting for all jobs to complete..."
concurrency:
group: ${{ github.workflow }}-a-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}
cancel-in-progress: true