Add "Author Verified" action

This commit is contained in:
Jackson Kearl
2020-03-29 00:28:07 -07:00
parent 3c938c800a
commit f159a57038
8 changed files with 36 additions and 15 deletions

22
.github/workflows/author-verified.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Author Verified
on:
schedule:
- cron: 20 14 * * * # 4:20pm Zurich
issues:
types: [labeled, closed]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: 'JacksonKearl/vscode-triage-github-actions'
ref: v16
- name: Run Author Verified
uses: ./author-verified
with:
requestVerificationComment:
pendingReleaseLabel: awaiting-insiders-release
authorVerificationRequestedLabel: author-verification-requested

View File

@@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'JacksonKearl/vscode-triage-github-actions'
ref: v15
ref: v16
- name: Run Commands
uses: ./commands
with:

View File

@@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'JacksonKearl/vscode-triage-github-actions'
ref: v15
ref: v16
- name: Run CopyCat (JacksonKearl/testissues)
uses: ./copycat
with:

View File

@@ -1,7 +1,8 @@
name: Locker
on:
schedule:
- cron: 20 23 * * * # Daily at 4:20pm PDT
- cron: 20 23 * * * # 4:20pm Redmond
# on: repository_dispatch
# Note for locker:
# The query for is:unlocked will return issues that have only recently been locked
@@ -17,7 +18,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'JacksonKearl/vscode-triage-github-actions'
ref: v15
ref: v16
- name: Run Locker
uses: ./locker
with:

View File

@@ -1,7 +1,8 @@
name: Needs More Info Closer
on:
schedule:
- cron: 20 11 * * * # Daily at 4:20am PDT
- cron: 20 11 * * * # 4:20am Redmond
# on: repository_dispatch
jobs:
main:
@@ -11,11 +12,10 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'JacksonKearl/vscode-triage-github-actions'
ref: v15
ref: v16
- name: Run Needs More Info Closer
uses: ./needs-more-info-closer
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
label: needs more info
days: 7
comment: "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!"

View File

@@ -1,23 +0,0 @@
name: Needs More Info Labeler
on: repository_dispatch # disable pending resolution of #92958
# issues:
# types: [opened, edited]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: 'JacksonKearl/vscode-triage-github-actions'
ref: v15
- name: Run Needs More Info Labeler
uses: ./needs-more-info-labeler
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
matcher: '\b(\d\.\d{2,3}\.\d|insiders?|1\.\d\d\d?)\b'
tags: feature_request_template
bots: vscodebot|vscode-triage-bot
comment: "Thanks for creating this issue! We detected it's missing some basic information, such as your VS Code and operating system versions, or in some other way doesn't follow our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines. Please take the time to review these guidelines and update the issue.\n\nThis comment will go away once sufficient information is included in your issue.\n\nHappy Coding!"
label: needs more info

View File

@@ -11,11 +11,10 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'JacksonKearl/vscode-triage-github-actions'
ref: v15
ref: v16
- name: Run New Release
uses: ./new-release
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
label: new release
labelColor: "006b75"
labelDescription: Issues found in a recent release of VS Code

View File

@@ -11,11 +11,10 @@ jobs:
uses: actions/checkout@v2
with:
repository: 'JacksonKearl/vscode-triage-github-actions'
ref: v15
ref: v16
- name: Run Test Plan Item Validator
uses: ./test-plan-item-validator
with:
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
label: testplan-item
invalidLabel: invalid-testplan-item
comment: Invalid test plan item. See errors below and the [test plan item spec](https://github.com/microsoft/vscode/wiki/Writing-Test-Plan-Items) for more information. This comment will go away when the issues are resolved.