From 3e6c6bdaa32969b176eab83ee4a1f861b7a06676 Mon Sep 17 00:00:00 2001 From: Ben Evans <49054298+bsanevans@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:03:23 +0900 Subject: [PATCH] Update content-checklist-from-issue.yml (#2029) Replacing the `/` in commands with an underscore, as the workflow was triggering with URLs. --- .github/workflows/content-checklist-from-issue.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/content-checklist-from-issue.yml b/.github/workflows/content-checklist-from-issue.yml index 59e2c13fa..f06ce337e 100644 --- a/.github/workflows/content-checklist-from-issue.yml +++ b/.github/workflows/content-checklist-from-issue.yml @@ -25,7 +25,7 @@ jobs: with: script: console.log(context) - uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f - if: contains(github.event.issue.body, '/tutorial') + if: contains(github.event.issue.body, '_tutorial') with: issue-number: ${{ github.event.issue.number }} body: | @@ -40,7 +40,7 @@ jobs: - [ ] Tutorial published on Learn.WordPress.org - [ ] Tutorial [announced to Marketing Team](https://docs.google.com/spreadsheets/d/1rY9gyA0KljjlinPE2B0S2qfsN8Nz24_N_KzqB5CrYZM/edit#gid=469255212) for promotion - uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f - if: contains(github.event.issue.body, '/course') + if: contains(github.event.issue.body, '_course') with: issue-number: ${{ github.event.issue.number }} body: | @@ -50,7 +50,7 @@ jobs: - [ ] Request a review from the team - [ ] [Publish content](https://make.wordpress.org/training/handbook/courses/publishing/) - uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f - if: contains(github.event.issue.body, '/lesson-plan') + if: contains(github.event.issue.body, '_lesson-plan') with: issue-number: ${{ github.event.issue.number }} body: | @@ -67,7 +67,7 @@ jobs: - [ ] Announce to marketing - [ ] Gather feedback from lesson plan users about the quality - uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f - if: contains(github.event.issue.body, '/online-workshop') + if: contains(github.event.issue.body, '_online-workshop') with: issue-number: ${{ github.event.issue.number }} body: |