author-verified.yml 1.9 KB
Newer Older
J
Jackson Kearl 已提交
1 2
name: Author Verified
on:
3
  repository_dispatch:
J
Jackson Kearl 已提交
4
  schedule:
5
    - cron: 20 14 * * * # 4:20pm Zurich
J
Jackson Kearl 已提交
6
  issues:
J
Jackson Kearl 已提交
7
    types: [closed]
J
Jackson Kearl 已提交
8

J
Jackson Kearl 已提交
9
# also make changes in ./on-label.yml
J
Jackson Kearl 已提交
10 11 12 13 14
jobs:
  main:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Actions
15
        if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
J
Jackson Kearl 已提交
16 17
        uses: actions/checkout@v2
        with:
18 19
          repository: 'microsoft/vscode-github-triage-actions'
          ref: v1
J
Jackson Kearl 已提交
20
          path: ./actions
21 22 23
      - name: Install Actions
        if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
        run: npm install --production --prefix ./actions
J
Jackson Kearl 已提交
24
      - name: Checkout Repo
25
        if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
J
Jackson Kearl 已提交
26 27 28 29
        uses: actions/checkout@v2
        with:
          path: ./repo
          fetch-depth: 0
J
Jackson Kearl 已提交
30
      - name: Run Author Verified
31
        if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
J
Jackson Kearl 已提交
32
        uses: ./actions/author-verified
J
Jackson Kearl 已提交
33
        with:
34
          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 confirming things are working as expected in the latest Insiders release. If things look good, please leave a comment with the text `/verified` to let us know. If not, please ensure you're on version ${commit} of Insiders (today's or later - you can use `Help: About` in the command pallete to check), and leave a comment letting us know what isn't working as expected.\n\nHappy Coding!"
J
Jackson Kearl 已提交
35 36
          pendingReleaseLabel: awaiting-insiders-release
          authorVerificationRequestedLabel: author-verification-requested