diff --git a/.github/workflows/comment-with-checklist.yml b/.github/workflows/comment-with-checklist.yml index 49e630ae4c..0e41dfd2cc 100644 --- a/.github/workflows/comment-with-checklist.yml +++ b/.github/workflows/comment-with-checklist.yml @@ -73,6 +73,16 @@ jobs: - [ ] Hold Online Workshop - [ ] Complete [After an Online Workshop](https://make.wordpress.org/training/handbook/online-workshops/after-an-online-workshop/) next steps - [ ] Add link to slides and/or WordPress.tv video to GitHub issue + - uses: actions/github-script@v7.0.1 + if: contains(inputs.content-type, 'online-workshop') + with: + script: | + github.rest.issues.addLabels({ + issue_number: ${{ github.event.issue.number }}, + owner: ${{ github.event.repo.owner }}, + repo: ${{ github.event.repo.repo }}, + labels: ["Needs co-host"] + }) - uses: peter-evans/create-or-update-comment@v3 if: contains(inputs.content-type, 'lesson') with: