From f0a98a8fb89eac18610cd3bc9b1400ad6da1c8a7 Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Thu, 14 Mar 2024 20:07:27 +0100 Subject: [PATCH] Update run-htmltest.yml --- .github/workflows/run-htmltest.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-htmltest.yml b/.github/workflows/run-htmltest.yml index b48751d28b..8953fb3a46 100644 --- a/.github/workflows/run-htmltest.yml +++ b/.github/workflows/run-htmltest.yml @@ -32,6 +32,7 @@ jobs: - name: Test HTML # https://github.com/wjdp/htmltest-action/ # Don't fail the build on broken links + id: test-html continue-on-error: false uses: wjdp/htmltest-action@master with: @@ -57,11 +58,12 @@ jobs: uses: atlassian/gajira-create@v3 env: GITHUB_RUN_ID: ${{ github.run_id }} + HTMLTEST_JOB_ID: ${{ steps.test-html.outputs.job-id }} with: project: DOCS issuetype: Bug summary: Broken link detected - description: "For more info see https://github.com/viamrobotics/docs/actions/runs/${{ env.GITHUB_RUN_ID }}. ${{ github.run_id }}" + description: "For more info see https://github.com/viamrobotics/docs/actions/runs/${{ env.GITHUB_RUN_ID }}/job/${{ env.HTMLTEST_JOB_ID }}." - name: Log created Jira issue if: failure() run: echo "Issue ${{ steps.create.outputs.issue }} was created"