Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
leogopal committed Feb 29, 2024
1 parent 7389c24 commit 76dbf30
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/0-event-application-vetting.yml
Expand Up @@ -19,7 +19,7 @@ body:
- Meetup
- WordCamp
- WordPress Event
default: 0
default: 1
validations:
required: true
- type: "input"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/advanced-issue-labeler.yml
Expand Up @@ -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."
})
Expand Up @@ -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'
content-type: "wordpress-event"

0 comments on commit 76dbf30

Please sign in to comment.