Skip to content

Commit 3dcab0a

Browse files
feat: add job url
1 parent 3316d89 commit 3dcab0a

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: 'deps: update {{ env.FAILED_DEP }} job failed'
3+
labels: dependencies
4+
---
5+
This is an automatically generated issue by the {{ tools.context.action }} GitHub Action.
6+
The update workflow has failed for {{ tools.context.workflow }}: {{ env.JOB_URL }}.
7+
@nodejs/security-wg @nodejs/actions

β€Ž.github/ISSUE_TEMPLATE/failed-dep-update.ymlβ€Ž

Lines changed: 0 additions & 7 deletions
This file was deleted.

β€Ž.github/workflows/tools.ymlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,11 @@ jobs:
299299
- name: Open issue on fail
300300
id: create-issue
301301
if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id && ${{ failure() }}
302-
uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd
302+
uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd # 2.9.1
303303
env:
304304
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
305305
FAILED_DEP: ${{ matrix.id }}
306+
JOB_URL: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}
306307
with:
307308
filename: .github/ISSUE_TEMPLATE/failed-dep-update.md
308309
update_existing: true

0 commit comments

Comments
Β (0)