Skip to content

Commit

Permalink
Update content-checklist-from-issue.yml (#2029)
Browse files Browse the repository at this point in the history
Replacing the `/` in commands with an underscore, as the workflow was triggering with URLs.
  • Loading branch information
kaitohm authored Nov 27, 2023
1 parent 41b2fe1 commit 3e6c6bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/content-checklist-from-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -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: |
Expand All @@ -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: |
Expand Down

0 comments on commit 3e6c6bd

Please sign in to comment.