author-verified.yml 1.6 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 7 8 9 10 11 12 13
  issues:
    types: [labeled, closed]

jobs:
  main:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Actions
14
        if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
J
Jackson Kearl 已提交
15 16 17
        uses: actions/checkout@v2
        with:
          repository: 'JacksonKearl/vscode-triage-github-actions'
18
          ref: v22
J
Jackson Kearl 已提交
19 20
          path: ./actions
      - name: Checkout Repo
21
        if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
J
Jackson Kearl 已提交
22 23 24 25
        uses: actions/checkout@v2
        with:
          path: ./repo
          fetch-depth: 0
J
Jackson Kearl 已提交
26
      - name: Run Author Verified
27
        if: github.event_name != 'issues' || contains(github.event.issue.labels.*.name, 'author-verification-requested')
J
Jackson Kearl 已提交
28
        uses: ./actions/author-verified
J
Jackson Kearl 已提交
29
        with:
30
          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 已提交
31 32
          pendingReleaseLabel: awaiting-insiders-release
          authorVerificationRequestedLabel: author-verification-requested