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