From 3d7d0a4b46aa2325f10644c6e5018b4069de029c Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Mon, 15 May 2023 16:02:35 +0200 Subject: [PATCH] feat: add job url --- .github/ISSUE_TEMPLATE/failed-dep-update.yml | 4 ++-- .github/workflows/tools.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/failed-dep-update.yml b/.github/ISSUE_TEMPLATE/failed-dep-update.yml index 953641fbef8f60..f34166a6074739 100644 --- a/.github/ISSUE_TEMPLATE/failed-dep-update.yml +++ b/.github/ISSUE_TEMPLATE/failed-dep-update.yml @@ -3,5 +3,5 @@ labels: dependencies description: | This is an automatically generated issue by the {{ tools.context.action }} GitHub Action. - The update workflow has failed for {{ tools.context.workflow }}. - @nodejs/security-wg + The update workflow has failed for {{ tools.context.workflow }}: {{ env.JOB_URL }}. + @nodejs/security-wg @nodejs/actions diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index 008677d835fd57..b6a8be719071f5 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -299,10 +299,11 @@ jobs: - name: Open issue on fail id: create-issue if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id && ${{ failure() }} - uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd + uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd # 2.9.1 env: GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }} FAILED_DEP: ${{ matrix.id }} + JOB_URL: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }} with: filename: .github/ISSUE_TEMPLATE/failed-dep-update.md update_existing: true