From f159a57038f142e3668b7277b4227537acaafa7b Mon Sep 17 00:00:00 2001 From: Jackson Kearl Date: Sun, 29 Mar 2020 00:28:07 -0700 Subject: [PATCH] Add "Author Verified" action --- .../needs-more-info-labeler.yml | 8 +++---- .github/workflows/author-verified.yml | 22 +++++++++++++++++++ .github/workflows/commands.yml | 2 +- .github/workflows/copycat.yml | 2 +- .github/workflows/locker.yml | 5 +++-- .github/workflows/needs-more-info-closer.yml | 6 ++--- .github/workflows/new-release.yml | 3 +-- .../workflows/test-plan-item-validator.yml | 3 +-- 8 files changed, 36 insertions(+), 15 deletions(-) rename .github/{workflows => disabled_workflows}/needs-more-info-labeler.yml (88%) create mode 100644 .github/workflows/author-verified.yml diff --git a/.github/workflows/needs-more-info-labeler.yml b/.github/disabled_workflows/needs-more-info-labeler.yml similarity index 88% rename from .github/workflows/needs-more-info-labeler.yml rename to .github/disabled_workflows/needs-more-info-labeler.yml index 8e90b852641..c0572f93bd8 100644 --- a/.github/workflows/needs-more-info-labeler.yml +++ b/.github/disabled_workflows/needs-more-info-labeler.yml @@ -1,7 +1,7 @@ name: Needs More Info Labeler -on: repository_dispatch # disable pending resolution of #92958 - # issues: - # types: [opened, edited] +on: + issues: + types: [opened, edited] jobs: main: @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v2 with: repository: 'JacksonKearl/vscode-triage-github-actions' - ref: v15 + ref: v16 - name: Run Needs More Info Labeler uses: ./needs-more-info-labeler with: diff --git a/.github/workflows/author-verified.yml b/.github/workflows/author-verified.yml new file mode 100644 index 00000000000..27032ffa73f --- /dev/null +++ b/.github/workflows/author-verified.yml @@ -0,0 +1,22 @@ +name: Author Verified +on: + schedule: + - cron: 20 14 * * * # 4:20pm Zurich + issues: + types: [labeled, closed] + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + uses: actions/checkout@v2 + with: + repository: 'JacksonKearl/vscode-triage-github-actions' + ref: v16 + - name: Run Author Verified + uses: ./author-verified + with: + requestVerificationComment: + pendingReleaseLabel: awaiting-insiders-release + authorVerificationRequestedLabel: author-verification-requested diff --git a/.github/workflows/commands.yml b/.github/workflows/commands.yml index 8d2a1a97753..2f7c331bf82 100644 --- a/.github/workflows/commands.yml +++ b/.github/workflows/commands.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v2 with: repository: 'JacksonKearl/vscode-triage-github-actions' - ref: v15 + ref: v16 - name: Run Commands uses: ./commands with: diff --git a/.github/workflows/copycat.yml b/.github/workflows/copycat.yml index e7e102d448d..ad5c9840fcf 100644 --- a/.github/workflows/copycat.yml +++ b/.github/workflows/copycat.yml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v2 with: repository: 'JacksonKearl/vscode-triage-github-actions' - ref: v15 + ref: v16 - name: Run CopyCat (JacksonKearl/testissues) uses: ./copycat with: diff --git a/.github/workflows/locker.yml b/.github/workflows/locker.yml index c105987bdb6..6ff1f5ed75e 100644 --- a/.github/workflows/locker.yml +++ b/.github/workflows/locker.yml @@ -1,7 +1,8 @@ name: Locker on: schedule: - - cron: 20 23 * * * # Daily at 4:20pm PDT + - cron: 20 23 * * * # 4:20pm Redmond +# on: repository_dispatch # Note for locker: # The query for is:unlocked will return issues that have only recently been locked @@ -17,7 +18,7 @@ jobs: uses: actions/checkout@v2 with: repository: 'JacksonKearl/vscode-triage-github-actions' - ref: v15 + ref: v16 - name: Run Locker uses: ./locker with: diff --git a/.github/workflows/needs-more-info-closer.yml b/.github/workflows/needs-more-info-closer.yml index f5b92432303..e359609b13e 100644 --- a/.github/workflows/needs-more-info-closer.yml +++ b/.github/workflows/needs-more-info-closer.yml @@ -1,7 +1,8 @@ name: Needs More Info Closer on: schedule: - - cron: 20 11 * * * # Daily at 4:20am PDT + - cron: 20 11 * * * # 4:20am Redmond +# on: repository_dispatch jobs: main: @@ -11,11 +12,10 @@ jobs: uses: actions/checkout@v2 with: repository: 'JacksonKearl/vscode-triage-github-actions' - ref: v15 + ref: v16 - name: Run Needs More Info Closer uses: ./needs-more-info-closer with: - token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}} label: needs more info days: 7 comment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" diff --git a/.github/workflows/new-release.yml b/.github/workflows/new-release.yml index d40306a7d3c..b0583ecf9ef 100644 --- a/.github/workflows/new-release.yml +++ b/.github/workflows/new-release.yml @@ -11,11 +11,10 @@ jobs: uses: actions/checkout@v2 with: repository: 'JacksonKearl/vscode-triage-github-actions' - ref: v15 + ref: v16 - name: Run New Release uses: ./new-release with: - token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}} label: new release labelColor: "006b75" labelDescription: Issues found in a recent release of VS Code diff --git a/.github/workflows/test-plan-item-validator.yml b/.github/workflows/test-plan-item-validator.yml index bca963f5346..f1b59401382 100644 --- a/.github/workflows/test-plan-item-validator.yml +++ b/.github/workflows/test-plan-item-validator.yml @@ -11,11 +11,10 @@ jobs: uses: actions/checkout@v2 with: repository: 'JacksonKearl/vscode-triage-github-actions' - ref: v15 + ref: v16 - name: Run Test Plan Item Validator uses: ./test-plan-item-validator with: - token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}} label: testplan-item invalidLabel: invalid-testplan-item comment: Invalid test plan item. See errors below and the [test plan item spec](https://github.com/microsoft/vscode/wiki/Writing-Test-Plan-Items) for more information. This comment will go away when the issues are resolved.