Skip to content

Commit

Permalink
New meetup action - fail fast (#20)
Browse files Browse the repository at this point in the history
* update name

* up

* Update new-meetup.yml

* Update new-meetup.yml

* Update new-meetup.yml

* Update new-meetup.yml

* Update new-meetup.yml

* Update new-meetup.yml
  • Loading branch information
veeti-k committed Jul 27, 2023
1 parent 724e12a commit dfe4086
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: New event
description: Add an event
labels: [new-event]
name: New meetup
description: Add a meetup
labels: [meetup]
body:
- type: input
id: date
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/new-meetup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
new-meetup:
runs-on: ubuntu-latest
if: "contains( github.event.issue.labels.*.name, 'meetup' )"

steps:
- name: Checkout
Expand All @@ -25,7 +26,7 @@ jobs:
pnpm i && \
pnpm start
env:
MEETUP_FOLDER: "../../../src/content/meetups"
MEETUP_FOLDER: "../../src/content/meetups" # relative from action's root
ISSUE_TITLE: ${{ github.event.issue.title }}
ISSUE_BODY: ${{ github.event.issue.body }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
Expand Down

0 comments on commit dfe4086

Please sign in to comment.