From 2791039e83d312ebfa47d1b81d6a4be687ea11cd Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Fri, 29 Sep 2023 11:13:29 -0700 Subject: [PATCH 1/2] chore(ci): Add a summary if the regression workflow is skipped Due to not running automatically on PRs. Signed-off-by: Jesse Szwedko --- .github/workflows/regression.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index daf860f65507a..13dcd0cfe3e06 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -816,6 +816,13 @@ jobs: context: Regression Detection Suite status: 'success' + - name: (PR) Indicate why skipped + if: github.event_name == 'pull_request' + run: | + echo "### Workflow skipped" >> $GITHUB_STEP_SUMMARY + echo "This workflow doesn't run on PR's automatically." >> $GITHUB_STEP_SUMMARY + echo "To trigger a run, leave a comment with `/ci-run-regression`" >> $GITHUB_STEP_SUMMARY + - name: exit run: | echo "failed=${{ env.FAILED }}" From 1c40afd40afd0a4193f9f184398b6d8faefec932 Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Fri, 29 Sep 2023 11:15:51 -0700 Subject: [PATCH 2/2] Escape backticks Signed-off-by: Jesse Szwedko --- .github/workflows/regression.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 13dcd0cfe3e06..089e9c9097914 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -821,7 +821,7 @@ jobs: run: | echo "### Workflow skipped" >> $GITHUB_STEP_SUMMARY echo "This workflow doesn't run on PR's automatically." >> $GITHUB_STEP_SUMMARY - echo "To trigger a run, leave a comment with `/ci-run-regression`" >> $GITHUB_STEP_SUMMARY + echo "To trigger a run, leave a comment with \`/ci-run-regression\`" >> $GITHUB_STEP_SUMMARY - name: exit run: |