Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9aed868

Browse filesBrowse files
marco-ippolitoMoLow
authored andcommitted
tools: open issue when update workflow fails
PR-URL: #48018 Refs: nodejs/security-wg#973 Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent 74206b2 commit 9aed868
Copy full SHA for 9aed868

File tree

Expand file treeCollapse file tree

2 files changed

+18
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+18
-0
lines changed
Open diff view settings
Collapse file
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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]({{ env.JOB_URL }}) has failed for {{ tools.context.workflow }}.
7+
@nodejs/security-wg @nodejs/actions
Collapse file

‎.github/workflows/tools.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/tools.yml
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,14 @@ jobs:
298298
labels: ${{ matrix.label }}
299299
title: '${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}'
300300
update-pull-request-title-and-body: true
301+
- name: Open issue on fail
302+
id: create-issue
303+
if: github.event_name == 'schedule' && ${{ failure() }}
304+
uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd # 2.9.1
305+
env:
306+
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
307+
FAILED_DEP: ${{ matrix.id }}
308+
JOB_URL: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}
309+
with:
310+
filename: .github/FAILED_DEP_UPDATE_ISSUE_TEMPLATE.md
311+
update_existing: true

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.