Commit graph

9 commits

Author SHA1 Message Date
Adam Moussa
fbabab9692 Fix timezone mismatch in version bump PR filter and use dynamic canvas URL
The date comparison used git's author date in its stored timezone
(e.g. -04:00) against GitHub API mergedAt values in UTC (Z suffix).
Lexicographic string comparison across different timezone formats
caused every PR from the tagged commit's day to be re-included in
subsequent versions. Normalize to UTC with format-local so both
sides match.

Also replace the hardcoded canvas URL with the CANVAS_ID env var
already available in the step.
2026-05-04 15:26:36 -04:00
Adam Moussa
a85eb0afd9
Default to patch version bumps, add minor bump option (#30)
Scheduled runs auto-bump patch (v1.7.0 -> v1.7.1). Manual triggers
get a dropdown to choose patch or minor bump.
2026-05-01 15:06:04 -04:00
Adam Moussa
55697748cb
Use semver auto-increment for daily version bumps (#29)
Replaces date-based versions (v2026.05.01) with semver minor bumps
(v1.7.0 -> v1.8.0) to stay consistent with the project's existing
version history.
2026-05-01 15:00:51 -04:00
Adam Moussa
7116458efb
Fix printf flag parsing in version bump workflow (#28) 2026-05-01 14:53:47 -04:00
Adam Moussa
f92f2ed72e
Add pull-requests read permission to version bump workflow (#27) 2026-05-01 14:51:33 -04:00
Adam Moussa
ca3b3096fc
Skip DST guard on manual workflow_dispatch triggers (#26) 2026-05-01 14:49:01 -04:00
Adam Moussa
b08a532da3
Polish version notifications and sync changelog canvas (#21) (#25)
Reworks the daily version bump workflow to:
- Pull merged PR titles via gh CLI instead of raw commit messages
- Post a polished, non-technical channel message with a link to the
  changelog canvas
- Prepend the new version entry to the Slack canvas via canvases.edit
  API so the canvas stays in sync automatically

Channel message format:
  "After-Hours Scheduler has been updated to vXXXX.XX.XX
   Here's a brief summary of what changed:
   • ...
   Click here to read the full changelog"
2026-05-01 14:47:16 -04:00
Adam Moussa
769b9e5acd
Change deploy notifications to daily version bumps (#24)
Replaces per-push notifications with a daily 6pm ET cron job that
batches all commits since the last version tag into a single Slack
message. Tags main with a date-based version (v2026.05.01) so there
is at most one version bump per day. Includes DST guard matching the
pattern used by the other scheduled Lambdas.
2026-05-01 14:37:54 -04:00
Adam Moussa
5e052d424d
Add GitHub Actions workflow for deploy notifications (#23)
Posts a Slack message to the schedule channel whenever code is pushed
to main. Uses the existing Slack bot token stored as a GitHub secret.
2026-05-01 14:32:53 -04:00