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 8df8fbc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/failed-dep-update.md
Original file line number Diff line number Diff line change
@@ -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
7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/failed-dep-update.yml

This file was deleted.

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 8df8fbc

Please sign in to comment.