- Create a new Issue with the Event Form (check out the CDC.cy example)
- Approve the Event on your Issue tracker
- Let the 🤖 work its 🪄
This is done via a reusable GitHub Action and OpenID Connect Authentication (OICD).
- Add the Discord Bot to your Server
- Get your Server/Guild ID ("Copy ID" when Developer Mode is active in the Discord Client)
- Copy the workflow below into your events repo (ie.
.github/workflows/gitevents-discord.yml
), see example - Change the server-id and your default time-zone
- Commit and push to your events repo
name: Create Events on Discord
on:
issues:
types: [labeled]
jobs:
reuse:
if: contains( github.event.issue.labels.*.name, 'Approved' )
uses: gitevents/propaganda/.github/workflows/discord-event.yml@main
with:
server-id: "983632632514498621"
time-zone: 'Europe/Nicosia'
coming soon
coming soon
coming soon
Licensed under MIT.