Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eventbrite Automation #9

Open
3 tasks
PatrickHeneise opened this issue Dec 6, 2022 · 6 comments · May be fixed by #10
Open
3 tasks

Eventbrite Automation #9

PatrickHeneise opened this issue Dec 6, 2022 · 6 comments · May be fixed by #10
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@PatrickHeneise
Copy link
Member

We'd like to automate event creation on Eventbrite via the Eventbrite API.

Necessary input:

More information: https://www.eventbrite.com/platform/docs/create-events

We have all the necessary information for the event in the issue payload. Some additional parsing is needed:

  • extract an image from the description and set it as header image
  • extract speaker info from referenced issues
  • extract location information from the locations.json database

Events are only created once "approved". There should be a check if the event already exists and then update it if necessary.

@PatrickHeneise PatrickHeneise added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Dec 6, 2022
@gmgale
Copy link

gmgale commented Dec 8, 2022

I would be interested on working on this! 😁 Let me know what you think.

@PatrickHeneise
Copy link
Member Author

PatrickHeneise commented Dec 12, 2022

@gmgale that'd be much appreciated, thank you! A few pointers to get started:

  • currently the only supported action is Discord, which works as a re-usable GitHub Action, so there's nothing in src/index
  • you can parse the payload (issue) with @zentered/issue-forms-body-parser (see bodyParser for an example) to get the "answers" from the issue
  • https://github.com/nektos/act is great for testing actions locally

@gmgale
Copy link

gmgale commented Dec 13, 2022

@PatrickHeneise Great, thanks for the info!
For the testing locally, could you give me an example command for the discord workflow please?

@PatrickHeneise
Copy link
Member Author

The discord action is composable and doesn't work by itself but needs to be called from another action, it's a little tricky.

Easier to add a "integration test" action to the repo, see https://github.com/gitevents/ics/blob/main/.github/workflows/main.yml. That can be called with act workflow_dispatch.

@PatrickHeneise
Copy link
Member Author

https://github.com/zentered/issue-forms-body-parser has an "end to end" test action that runs the local code with act and a few other things that could be helpful during development.

@gmgale
Copy link

gmgale commented Dec 20, 2022

Hi @PatrickHeneise, I must apologise unfortunately an unexpected assignment has come up and is taking a lot of my time.Please feel free to assign this to another contributor. Thank you and sorry again!

@PatrickHeneise PatrickHeneise self-assigned this Dec 23, 2022
@PatrickHeneise PatrickHeneise linked a pull request Dec 23, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants