diff --git a/.github/ISSUE_TEMPLATE/0-event-application-vetting.yml b/.github/ISSUE_TEMPLATE/0-event-application-vetting.yml index 6e17979..1181000 100644 --- a/.github/ISSUE_TEMPLATE/0-event-application-vetting.yml +++ b/.github/ISSUE_TEMPLATE/0-event-application-vetting.yml @@ -19,7 +19,7 @@ body: - Meetup - WordCamp - WordPress Event - default: 0 + default: 1 validations: required: true - type: "input" diff --git a/.github/workflows/advanced-issue-labeler.yml b/.github/workflows/advanced-issue-labeler.yml index a6afe26..253424e 100644 --- a/.github/workflows/advanced-issue-labeler.yml +++ b/.github/workflows/advanced-issue-labeler.yml @@ -50,5 +50,5 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: "Heads up @@WordPress/community-triage, we have a new issue open. Time to triage." + body: "Heads up @WordPress/community-triage, we have a new issue open. Time to triage." }) diff --git a/.github/workflows/revision/comment-with-checklist.yml b/.github/workflows/comment-with-checklist.yml similarity index 100% rename from .github/workflows/revision/comment-with-checklist.yml rename to .github/workflows/comment-with-checklist.yml diff --git a/.github/workflows/revision/content-checklist-from-issue.yml b/.github/workflows/content-checklist-from-issue.yml similarity index 59% rename from .github/workflows/revision/content-checklist-from-issue.yml rename to .github/workflows/content-checklist-from-issue.yml index dd5167e..98e2b28 100644 --- a/.github/workflows/revision/content-checklist-from-issue.yml +++ b/.github/workflows/content-checklist-from-issue.yml @@ -3,23 +3,23 @@ name: Add the applicable Event Application Checklist based on a command in the issue body on: issues: - types: [opened, edited] + types: [opened] jobs: meetup-event: - if: ${{ contains(github.event.issue.labels.*.name, 'Awaiting Triage') && contains(github.event.issue.body, 'Meetup') }} + if: ${{ contains(github.event.issue.labels.*.name, 'Awaiting Triage') && contains(github.event.issue.labels.*.name, 'event') && contains(github.event.issue.body, 'Meetup') }} uses: ./.github/workflows/comment-with-checklist.yml with: - content-type: 'meetup' - + content-type: "meetup" + wordcamp-event: - if: ${{ contains(github.event.issue.labels.*.name, 'Awaiting Triage') && contains(github.event.issue.body, 'WordCamp') }} + if: ${{ contains(github.event.issue.labels.*.name, 'Awaiting Triage') && contains(github.event.issue.labels.*.name, 'event') && contains(github.event.issue.body, 'WordCamp') }} uses: ./.github/workflows/comment-with-checklist.yml with: - content-type: 'wordcamp' + content-type: "wordcamp" wordpress-event: - if: ${{ contains(github.event.issue.labels.*.name, 'Awaiting Triage') && contains(github.event.issue.body, 'WordPress Event') }} + if: ${{ contains(github.event.issue.labels.*.name, 'Awaiting Triage') && contains(github.event.issue.labels.*.name, 'event') && contains(github.event.issue.body, 'WordPress Event') }} uses: ./.github/workflows/comment-with-checklist.yml with: - content-type: 'wordpress-event' \ No newline at end of file + content-type: "wordpress-event"