From 6bf73dc1963c4621be078a91da4953cfe077b31b Mon Sep 17 00:00:00 2001 From: Nora Date: Mon, 22 Jan 2024 13:07:21 +0000 Subject: [PATCH] Fix typo --- .github/workflows/e2e-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index e3368392d..c499356a3 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -73,14 +73,14 @@ jobs: ISSUE_BODY="issue-body.md" printf "E2e tests have failed on the default branch.\n\n@github/code-scanning-secexp-reviewers" > "$ISSUE_BODY" - ISSUE="$(gh issue create --repo "$GITHUB_REPOSITORY" --label "e2e-test-failure" --title "E2@ test failure" --body-file "$ISSUE_BODY")" + ISSUE="$(gh issue create --repo "$GITHUB_REPOSITORY" --label "e2e-test-failure" --title "E2E test failure" --body-file "$ISSUE_BODY")" # `gh issue create` returns the full issue URL, not just the number. echo "Created issue with URL $ISSUE" fi COMMENT_FILE="comment.md" RUN_URL=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID - printf 'E2@ test [%s](%s) failed on ref `%s`' "$GITHUB_RUN_ID" "$RUN_URL" "$GITHUB_REF" > "$COMMENT_FILE" + printf 'E2E test [%s](%s) failed on ref `%s`' "$GITHUB_RUN_ID" "$RUN_URL" "$GITHUB_REF" > "$COMMENT_FILE" # `gh issue create` returns an issue URL, and `gh issue list | cut -f 1` returns an issue number. # Both are accepted here.