diff --git a/.github/ISSUE_TEMPLATE/failed-dep-update.md b/.github/ISSUE_TEMPLATE/failed-dep-update.md new file mode 100644 index 00000000000000..c1f35e66ed48fe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/failed-dep-update.md @@ -0,0 +1,7 @@ +--- +title: 'deps: update {{ env.FAILED_DEP }} job failed' +labels: dependencies +--- +This is an automatically generated issue by the {{ tools.context.action }} GitHub Action. +The update [workflow]({{ env.JOB_URL }}) has failed for {{ tools.context.workflow }}. +@nodejs/security-wg @nodejs/actions \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/failed-dep-update.yml b/.github/ISSUE_TEMPLATE/failed-dep-update.yml deleted file mode 100644 index 953641fbef8f60..00000000000000 --- a/.github/ISSUE_TEMPLATE/failed-dep-update.yml +++ /dev/null @@ -1,7 +0,0 @@ -name: 'deps: update {{ env.FAILED_DEP }} job failed' -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 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