mirror of https://git.tuxpa.in/a/code-server.git
31 lines
1.7 KiB
YAML
31 lines
1.7 KiB
YAML
name: Author Verified
|
|
on:
|
|
issues:
|
|
types: [closed]
|
|
|
|
# also make changes in ./on-label.yml
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Actions
|
|
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
|
uses: actions/checkout@v2
|
|
with:
|
|
repository: "microsoft/vscode-github-triage-actions"
|
|
ref: stable
|
|
path: ./actions
|
|
- name: Install Actions
|
|
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
|
run: npm install --production --prefix ./actions
|
|
- name: Run Author Verified
|
|
if: contains(github.event.issue.labels.*.name, 'author-verification-requested') && contains(github.event.issue.labels.*.name, 'insiders-released')
|
|
uses: ./actions/author-verified
|
|
with:
|
|
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
|
requestVerificationComment: "This bug has been fixed in 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 palette to check), and leave a comment letting us know what isn't working as expected.\n\nHappy Coding!"
|
|
releasedLabel: insiders-released
|
|
verifiedLabel: verified
|
|
authorVerificationRequestedLabel: author-verification-requested
|