From 989c2caf16f44f0496b892b277934a71dadf44cb Mon Sep 17 00:00:00 2001 From: Whatstone <166147148+whatston3@users.noreply.github.com> Date: Wed, 30 Sep 2026 16:55:13 +0000 Subject: [PATCH] Add a link to the failing run in heisendetector issues (#46257) * heisentest URL * obvious test failure * 2-space indent for submodules in action * remove obvious test failure * move failing action to the top of the template * fix vars reference * Revert "remove obvious test failure" This reverts commit 403c27720bd1be6e7fc1584dec4b2c698796160e. * pass individual environment variables * Reapply "remove obvious test failure" This reverts commit b42c9633c8add35c4e8ee0e77aafa051e7d5d88d. * actions to run, bracket link, add SHA of commit * Improve heisentest link nem bully ban he --- .github/ISSUE_TEMPLATE/heisentest_template.md | 3 +++ .github/workflows/heisendetector.yml | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/heisentest_template.md b/.github/ISSUE_TEMPLATE/heisentest_template.md index 2fde892b79..3e6d2ee5fc 100644 --- a/.github/ISSUE_TEMPLATE/heisentest_template.md +++ b/.github/ISSUE_TEMPLATE/heisentest_template.md @@ -6,6 +6,9 @@ labels: autogenerated A test failure has been detected on the main branch. This should never occur. +Commit under test: {{ env.GITHUB_SHA }} +[Link to failing run]({{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/actions/runs/{{ env.GITHUB_RUN_ID }}) + > [!NOTE] > This issue is automatically generated by a github action and will be updated when this failure reoccurs. > Do not edit the body of this issue. diff --git a/.github/workflows/heisendetector.yml b/.github/workflows/heisendetector.yml index c72c539684..2e13c8499d 100644 --- a/.github/workflows/heisendetector.yml +++ b/.github/workflows/heisendetector.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout Master uses: actions/checkout@v6 with: - submodules: recursive + submodules: recursive - name: Setup .NET Core uses: actions/setup-dotnet@v4.1.0 @@ -81,6 +81,10 @@ jobs: FULLNAME: ${{ matrix.value.fullname }} OUTPUT: ${{ matrix.value.output }} FAILURE: ${{ matrix.value.failure }} + GITHUB_SERVER_URL: ${{ vars.GITHUB_SERVER_URL }} + GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }} + GITHUB_RUN_ID: ${{ vars.GITHUB_RUN_ID }} + GITHUB_SHA: ${{ vars.GITHUB_SHA }} with: filename: .github/ISSUE_TEMPLATE/heisentest_template.md update_existing: true