mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 05:50:11 +01:00
Merge branch 'microsoft:main' into bugfix-workflow-publish
This commit is contained in:
commit
259196bc1e
9 changed files with 138 additions and 13 deletions
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.
|
||||
27
.github/workflows/locker.yml
vendored
Normal file
27
.github/workflows/locker.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Locker
|
||||
on:
|
||||
schedule:
|
||||
- cron: 21 23 * * * # 5:20pm Redmond
|
||||
repository_dispatch:
|
||||
types: [trigger-locker]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: 'microsoft/vscode-github-triage-actions'
|
||||
path: ./actions
|
||||
ref: stable
|
||||
- name: Install Actions
|
||||
run: npm install --production --prefix ./actions
|
||||
- name: Run Locker
|
||||
uses: ./actions/locker
|
||||
with:
|
||||
daysSinceClose: 45
|
||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
||||
daysSinceUpdate: 3
|
||||
ignoredLabel: '*out-of-scope'
|
||||
30
.github/workflows/needs-more-info-closer.yml
vendored
Normal file
30
.github/workflows/needs-more-info-closer.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: Needs More Info Closer
|
||||
on:
|
||||
schedule:
|
||||
- cron: 20 12 * * * # 5:20am Redmond
|
||||
repository_dispatch:
|
||||
types: [trigger-needs-more-info]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: 'microsoft/vscode-github-triage-actions'
|
||||
path: ./actions
|
||||
ref: stable
|
||||
- name: Install Actions
|
||||
run: npm install --production --prefix ./actions
|
||||
- name: Run Needs More Info Closer
|
||||
uses: ./actions/needs-more-info-closer
|
||||
with:
|
||||
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
||||
label: needs more info
|
||||
closeDays: 7
|
||||
additionalTeam: 'spahnke|rcjsuen'
|
||||
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
|
||||
pingDays: 120
|
||||
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."
|
||||
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
|
|
@ -225,3 +225,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@9e6213aec58987fa7d2f4deb8b256b99e63107a2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
filename: ./monaco-editor/.github/publish-failure-issue-template.md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue