Skip to content

Commit

Permalink
feat: add job url
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-ippolito committed May 15, 2023
1 parent 3316d89 commit 3d7d0a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/failed-dep-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3d7d0a4

Please sign in to comment.