File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 default : true
8888 has-changes-requiring-e2e-testing :
8989 type : string
90- runs_on :
91- description : ' Runner label for the e2e job'
92- required : false
93- type : string
94- default : gha-lfdt-lineth-ss-ubuntu-24-amd64-xl
9590 outputs :
9691 tests_outcome :
9792 value : ${{ jobs.run-e2e-tests.outputs.tests_outcome }}
@@ -108,27 +103,10 @@ jobs:
108103 if : ${{ inputs.has-changes-requiring-e2e-testing == 'true' }}
109104 outputs :
110105 tests_outcome : ${{ steps.run-e2e-tests.outputs.tests_outcome }}
111- runs-on : ${{ inputs.runs_on }}
106+ runs-on : gha-lfdt-lineth-ss-ubuntu-24-amd64-xl
112107 steps :
113- - name : Resolve monorepo checkout ref
114- id : monorepo-ref
115- shell : bash
116- env :
117- WORKFLOW_REF : ${{ github.workflow_ref }}
118- run : |
119- if [ "${{ github.repository }}" = "LFDT-Lineth/lineth-monorepo" ]; then
120- # Same-repo call: test at the triggering commit.
121- echo "ref=${{ github.sha }}" >> "$GITHUB_OUTPUT"
122- else
123- # Cross-repo call: WORKFLOW_REF is "owner/repo/.github/workflows/file.yml@ref"
124- # Extract everything after the last '@' to get the branch/tag/SHA.
125- echo "ref=${WORKFLOW_REF##*@}" >> "$GITHUB_OUTPUT"
126- fi
127108 - name : Checkout
128109 uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
129- with :
130- repository : LFDT-Lineth/lineth-monorepo
131- ref : ${{ steps.monorepo-ref.outputs.ref }}
132110
133111 - name : Run e2e tests
134112 id : run-e2e-tests
You can’t perform that action at this time.
0 commit comments