Skip to content

Github Action to get the events from Eventbrite and list them in a file

License

Notifications You must be signed in to change notification settings

ERNI-Academy/action-eventbrite-events-to-md

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

About action-eventbrite-events-to-md

This Github Action goal is to get the list of events from Eventbrite and write the list to a markdown file.

How to use

  1. Add the following snippet to your markdown file:
<!-- EVENTBRITE-EVENTS-LIST:START -->
<!-- EVENTBRITE-EVENTS-LIST:END -->
  1. Create a folder named .github and create a workflows folder inside it.
  2. Create a new yml file with any name (for example update-eventbrite-events-to-md.yml) and paste the following content:
name: Latest Eventbrite events workflow
on:
  schedule: # Run workflow automatically
    - cron: '0 20 * * *' # Runs every day at 8:00pm check out https://cron.help/#0_20_*_*_*
  workflow_dispatch: # Run workflow manually

jobs:
  update-readme-with-eventbrite:
    name: Update this repo's profile README with latest events from Eventbrite
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ERNI-Academy/action-eventbrite-events-to-md@v1
        with:
          file_path: ./README.md
          eventbrite_org_id: ${{ secrets.EVENTBRITE_ORG_ID }}
          eventbrite_token: ${{ secrets.EVENTBRITE_TOKEN }}
  1. Change options (with)
  2. Setup repository secrets
  3. Commit and wait for it to run automatically, or trigger it manually.

Options

Option Default Value Description Required
gh_token ${{ github.token }} Github token for git related tasks false
file_path ./README.md File path of the readme file false
eventbrite_org_id Eventbrite Organizer ID true
eventbrite_token Eventbrite Token true

Built With

Prerequisites

  • Node.js >= 16

Contributing

Please see our Contribution Guide to learn how to contribute.

License

MIT

(LICENSE) © 2022 ERNI - Swiss Software Engineering

Code of conduct

Please see our Code of Conduct

Follow us

Twitter Follow Twitch Status YouTube Channel Views Linkedin

Contact

📧 [email protected]

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Github Action to get the events from Eventbrite and list them in a file

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published