vscode/.github/workflows/author-verified.yml

40 lines
1.9 KiB
YAML
Raw Normal View History

2020-03-29 09:28:07 +02:00
name: Author Verified
on:
repository_dispatch:
types: [trigger-author-verified]
2020-03-29 09:28:07 +02:00
schedule:
- cron: 20 14 * * * # 4:20pm Zurich
2020-03-29 09:28:07 +02:00
issues:
2020-04-08 20:47:36 +02:00
types: [closed]
2020-03-29 09:28:07 +02:00
2020-04-08 20:47:36 +02:00
# also make changes in ./on-label.yml
2020-03-29 09:28:07 +02:00
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
2020-04-01 14:21:46 +02:00
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
2020-03-29 09:28:07 +02:00
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: v25
2020-03-29 18:26:30 +02:00
path: ./actions
- name: Install Actions
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
run: npm install --production --prefix ./actions
2020-03-29 18:26:30 +02:00
- name: Checkout Repo
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
2020-03-29 18:26:30 +02:00
uses: actions/checkout@v2
with:
path: ./repo
fetch-depth: 0
2020-03-29 09:28:07 +02:00
- name: Run Author Verified
2020-04-01 14:21:46 +02:00
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
2020-03-29 18:26:30 +02:00
uses: ./actions/author-verified
2020-03-29 09:28:07 +02:00
with:
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
2020-04-24 08:47:42 +02:00
requestVerificationComment: "This bug has been fixed in to the latest release of [VS Code Insiders](https://code.visualstudio.com/insiders/)!\n\n@${author}, you can help us out by commenting `/verified` if things are now working as expected.\n\nIf things still don't seem right, please ensure you're on version ${commit} of Insiders (today's or later - you can use `Help: About` in the command pallette to check), and leave a comment letting us know what isn't working as expected.\n\nHappy Coding!"
2020-03-29 09:28:07 +02:00
pendingReleaseLabel: awaiting-insiders-release
authorVerificationRequestedLabel: author-verification-requested