Skip to content

Add daily .zip docs release workflow#169

Open
PratikP1 wants to merge 3 commits intoCommunity-Access:mainfrom
PratikP1:ci/docs-release
Open

Add daily .zip docs release workflow#169
PratikP1 wants to merge 3 commits intoCommunity-Access:mainfrom
PratikP1:ci/docs-release

Conversation

@PratikP1
Copy link
Collaborator

@PratikP1 PratikP1 commented Mar 7, 2026

Summary

  • Adds a GitHub Actions workflow that creates daily zip releases of docs/ (Markdown) and html/docs/ (HTML)
  • Runs on a daily schedule (6:00 AM UTC) with manual dispatch support for the initial run
  • Detects changes before creating releases — skips if no docs content has changed
  • Names zip files as Git-Going-With-Git-yyyy-mm-dd.zip with release tags vyyyy-mm-dd
  • Marks each release as latest and retains only the 10 most recent releases

Test plan

  • Trigger workflow manually via workflow_dispatch to verify first run
  • Confirm zip contains both docs/ and html/docs/ folders
  • Verify release tag format (vyyyy-mm-dd) and latest tag assignment
  • Confirm no release is created when docs content is unchanged
  • Verify old releases beyond 10 are cleaned up

Creates a GitHub Actions workflow that:
- Runs daily at 6:00 AM UTC with manual dispatch for first run
- Zips docs/ (Markdown) and html/docs/ (HTML) into a single archive
- Only creates a new release if content has changed in the last 24 hours
- Names zip as Git-Going-With-Git-yyyy-mm-dd.zip
- Tags releases as vyyyy-mm-dd and marks latest
- Retains only the 10 most recent releases
Copilot AI review requested due to automatic review settings March 7, 2026 23:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an automated GitHub Actions workflow to publish daily GitHub Releases containing zipped docs/ (Markdown) and html/docs/ (HTML), with a manual trigger for the first run and cleanup of older releases.

Changes:

  • Introduces a scheduled + manual GitHub Actions workflow to package docs into a date-stamped zip and publish a GitHub Release.
  • Skips release creation when no docs changes are detected.
  • Deletes same-day releases before recreating them and prunes old releases beyond the most recent 10.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Uses the most recent vyyyy-mm-dd release tag as the baseline for
change detection. This avoids missing changes if a scheduled run
is skipped due to runner outages or cron delays.
@PratikP1 PratikP1 changed the title Add daily docs release workflow Add daily .zip docs release workflow Mar 8, 2026
Serializes workflow runs so a manual dispatch during a scheduled
run cannot race on tag deletion and release creation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants