mirror of
https://github.com/coder/code-server.git
synced 2024-12-04 23:03:06 +08:00
eae5d8c807
These conflicts will be resolved in the following commits. We do it this way so that PR review is possible.
41 lines
2.0 KiB
YAML
41 lines
2.0 KiB
YAML
name: Author Verified
|
|
on:
|
|
repository_dispatch:
|
|
types: [trigger-author-verified]
|
|
schedule:
|
|
- cron: 20 14 * * * # 4:20pm Zurich
|
|
issues:
|
|
types: [closed]
|
|
|
|
# also make changes in ./on-label.yml
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Actions
|
|
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
|
|
uses: actions/checkout@v2
|
|
with:
|
|
repository: "microsoft/vscode-github-triage-actions"
|
|
ref: v42
|
|
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
|
|
- name: Checkout Repo
|
|
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
|
|
uses: actions/checkout@v2
|
|
with:
|
|
path: ./repo
|
|
fetch-depth: 0
|
|
- name: Run Author Verified
|
|
if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
|
|
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 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 palette to check), and leave a comment letting us know what isn't working as expected.\n\nHappy Coding!"
|
|
pendingReleaseLabel: awaiting-insiders-release
|
|
verifiedLabel: verified
|
|
authorVerificationRequestedLabel: author-verification-requested
|