martimlobao/Regybox Auto Enroll

Enroll in a Regybox class and optionally send yourself an email confirmation.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 7, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: martimlobao/regybox@f961e7a9dda7dd4887a82c34f12e4651c396f2c0 # v2.4.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
class-timeClass start time (HH:MM).yes
class-typeName of the class to book. Use commas for ordered fallback names, for example WOD,Weekend WOD.yes
class-dateExact class date to book in YYYY-MM-DD format. Overrides class-date-offset-days when set.no
class-date-offset-daysHow many days from today the class should be booked.no2
operationOperation to perform, either enroll or unenroll.noenroll
not-open-is-noopSet to true to treat enrollment-not-open as a no-op instead of a failure.notrue
cache-keyOptional Cloudflare KV cache key to update after a successful state change.no
calendar-fingerprintOptional stable calendar event fingerprint to store in Cloudflare KV.no
cf-account-idCloudflare account ID used when cache-key is set.no
cf-kv-namespace-idCloudflare KV namespace ID used when cache-key is set.no
cf-kv-api-tokenCloudflare API token with KV edit permission used when cache-key is set.no
phpsessidValue of the PHPSESSID cookie from regybox.pt.yes
regybox-userValue of the regybox_user cookie from regybox.pt.yes
calendar-urlOptional URL to an iCal calendar that blocks the slot when you already have a class planned.no
calendar-event-nameOptional calendar event title to match. Defaults to CrossFit when omitted.no
timeout-secondsMaximum number of seconds to wait for enrollment to open.no900
send-emailSet to true to send a confirmation email when the job finishes.notrue
email-toRecipient email address for the confirmation email. Required when send-email is true.no
email-from-nameDisplay name to use for the confirmation email. The sender address comes from email-username.noRegybox Auto-enroll
email-usernameSMTP username used to send the confirmation email.no
email-passwordSMTP password or app password used to send the confirmation email.no
email-serverSMTP server address.nosmtp.gmail.com
email-portSMTP server port.no465

no outputs