Skip to content

Commit 9af852a

Browse files
committed
chore(misc): gha remove unnecessary steps
Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>
1 parent 4fcaae4 commit 9af852a

1 file changed

Lines changed: 1 addition & 23 deletions

File tree

.github/workflows/reusable-run-e2e-tests.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ on:
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

0 commit comments

Comments
 (0)