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

@@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: v2
ref: v3
path: ./actions
- name: Install Actions
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')

View File

@@ -13,7 +13,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v2
ref: v3
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Commands

View File

@@ -17,7 +17,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v2
ref: v3
- name: Install Actions
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'feature-request')
run: npm install --production --prefix ./actions

View File

@@ -13,7 +13,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v2
ref: v3
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Locker

View File

@@ -13,7 +13,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v2
ref: v3
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Needs More Info Closer

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

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!"

View File

@@ -14,7 +14,7 @@ jobs:
with:
repository: 'microsoft/vscode-github-triage-actions'
path: ./actions
ref: v2
ref: v3
- name: Install Actions
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item')
run: npm install --production --prefix ./actions