mirror of
https://github.com/microsoft/monaco-editor.git
synced 2024-11-25 16:35:44 +08:00
Creates an issue if npm publish task fails.
This commit is contained in:
parent
9f0a9c263f
commit
c8be2f8782
7
.github/publish-failure-issue-template.md
vendored
Normal file
7
.github/publish-failure-issue-template.md
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: NPM Publishing Failed
|
||||
assignees: []
|
||||
labels: bug
|
||||
---
|
||||
|
||||
NPM publishing failed. Check the last GitHub Action log.
|
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@ -224,3 +224,11 @@ jobs:
|
||||
if: ${{ steps.state.outputs.skip_monaco_editor == 'false' }}
|
||||
working-directory: './monaco-editor/release'
|
||||
run: npm publish --tag ${{ steps.state.outputs.dist_tag }}
|
||||
|
||||
- name: Create Issue On Failure
|
||||
if: failure()
|
||||
uses: JasonEtco/create-an-issue@c796bdce77b0eebb39e2f4cb359893d764d4aa91
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
filename: .github/publish-failure-issue-template.md
|
||||
|
Loading…
Reference in New Issue
Block a user