Add 'you forgot to paste' bot. Closes #94731.

This commit is contained in:
Jackson Kearl
2020-04-09 16:51:15 -07:00
parent ffb3cb7803
commit b3ed83e6d6
8 changed files with 15 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: v2
ref: v3
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
@@ -36,3 +36,10 @@ jobs:
labelColor: "006b75"
labelDescription: Issues found in a recent release of VS Code
days: 5
- name: Run Clipboard Labeler
uses: ./actions/regex-labeler
with:
label: "invalid"
mustNotMatch: "^We have written the needed data into your clipboard because it was too large to send\. Please paste\.$"
comment: "It looks like you're using our automatic issue generator but did not paste the generated text into the created issue. We've closed this issue, please open a new one with the text the generator placed on your clipboard.\n\nHappy Coding!"