This Github Action goal is to get the list of events from Eventbrite and write the list to a markdown file.
- Add the following snippet to your markdown file:
<!-- EVENTBRITE-EVENTS-LIST:START -->
<!-- EVENTBRITE-EVENTS-LIST:END -->
- Create a folder named
.github
and create aworkflows
folder inside it. - 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 }}
- Change options (
with
) - Setup repository secrets
- Commit and wait for it to run automatically, or trigger it manually.
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 |
- Node.js >= 16
Please see our Contribution Guide to learn how to contribute.
(LICENSE) © 2022 ERNI - Swiss Software Engineering
Please see our Code of Conduct
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!