diff --git a/.github/workflows/e2e-fulltests-ci.yml b/.github/workflows/e2e-fulltests-ci.yml index 05c35f1095..c9af14ecde 100644 --- a/.github/workflows/e2e-fulltests-ci.yml +++ b/.github/workflows/e2e-fulltests-ci.yml @@ -7,11 +7,11 @@ on: inputs: ref: type: string - description: Branch, tag or SHA of the commit to test. Ignored if PR_NUMBER is specified. Set to a tag when release testing. + description: Git ref to test. Must be a full commit SHA for PR testing, and a tag for release testing. Ignored for daily tests. required: false PR_NUMBER: type: string - description: If testing a PR, specify this instead of ref + description: If testing a PR, this must be specified as well. required: false MM_ENV: type: string @@ -95,15 +95,11 @@ jobs: fi case "$REPORT_TYPE" in NONE | PR) - ### For ref generation: either use 'inputs.PR_NUMBER' or 'inputs.ref' - if [ -n "$PR_NUMBER" ]; then - curl -fsSL -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: Bearer ${{ github.token }}" "${{ github.api_url }}/repos/${{ github.repository }}/pulls/${PR_NUMBER}" -o pr.json - COMMIT_SHA="$(jq -r .head.sha