Skip to content

Commit 8d6577e

Browse files
Copilotbookernath
andcommitted
Fix scheduling descriptions to accurately reflect weekly checks
Co-authored-by: bookernath <[email protected]>
1 parent ad1983b commit 8d6577e

File tree

6 files changed

+19
-12
lines changed

6 files changed

+19
-12
lines changed

.changelogs/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,16 @@ Each changelog entry is a JSON file containing:
5252

5353
### 3. Publishing Changelogs
5454

55-
Changelogs are automatically aggregated and published on a regular cadence (every 2 weeks) via GitHub Actions:
55+
Changelogs are automatically checked weekly via GitHub Actions. When entries exist, they are published:
5656

57-
- The workflow collects all entries from `.changelogs/entries/`
57+
- The workflow runs every Monday at 9 AM UTC
58+
- Collects all entries from `.changelogs/entries/`
5859
- Generates a formatted changelog document
5960
- Creates a PR with the aggregated changelog
6061
- Moves processed entries to `.changelogs/published/`
6162

63+
This allows for flexible publishing - changelogs are created as soon as there's content to publish, rather than waiting for a specific schedule.
64+
6265
### 4. Manual Publishing
6366

6467
To manually generate a changelog:
@@ -89,7 +92,7 @@ npm run changelog:publish
8992
The system includes several GitHub Actions workflows:
9093

9194
- **changelog-entry-check.yml**: Validates that PRs with doc changes include changelog entries
92-
- **changelog-publish.yml**: Runs bi-weekly to aggregate and publish changelogs
95+
- **changelog-publish.yml**: Runs weekly (every Monday) to aggregate and publish changelogs if entries exist
9396
- **changelog-pr-helper.yml**: Auto-generates changelog entry templates from PR context
9497

9598
## Configuration

.changelogs/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"changelog": {
33
"version": "1.0.0",
44
"publishSchedule": "0 9 * * 1",
5-
"publishScheduleDescription": "Every Monday at 9 AM UTC (bi-weekly)",
5+
"publishScheduleDescription": "Every Monday at 9 AM UTC (weekly check, publishes if entries exist)",
66
"entriesDir": ".changelogs/entries",
77
"publishedDir": ".changelogs/published",
88
"outputDir": "docs/changelog",

.github/workflows/changelog-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Publish Changelog
22

33
on:
44
schedule:
5-
# Run every two weeks on Monday at 9 AM UTC
5+
# Run every Monday at 9 AM UTC (weekly check)
6+
# Publishes a changelog only if there are entries to publish
67
- cron: '0 9 * * 1'
78
workflow_dispatch:
89
inputs:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ This repository uses an automated changelog management system to track documenta
115115

116116
1. Create a changelog entry: `npm run changelog:add`
117117
2. Commit the entry with your changes
118-
3. Changelogs are automatically published bi-weekly
118+
3. Changelogs are automatically published weekly when entries exist
119119

120120
For more information, see:
121121
- [Changelog Management Guide](/docs/changelog/GUIDE.md)

docs/changelog/GUIDE.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The changelog management system automates the tracking and publishing of documen
1818

1919
- **Individual changelog entries**: Create small, focused entries alongside documentation changes
2020
- **Automatic aggregation**: Combine entries into comprehensive changelogs
21-
- **Scheduled publishing**: Release changelogs on a regular cadence (bi-weekly)
21+
- **Scheduled publishing**: Release changelogs weekly when entries exist
2222
- **Direct documentation links**: Link to updated documentation pages, not PRs
2323
- **GitHub Actions automation**: Automatic validation and publishing
2424

@@ -121,13 +121,16 @@ npm run changelog:validate 1730322000000-abc123.json
121121
### Automatic Publishing (Recommended)
122122

123123
The system automatically publishes changelogs:
124-
- **Schedule**: Every two weeks on Monday at 9 AM UTC
124+
- **Schedule**: Every Monday at 9 AM UTC
125+
- **Behavior**: Only publishes if there are entries to include
125126
- **Process**:
126-
1. Collects all entries from `.changelogs/entries/`
127-
2. Generates a formatted changelog in `docs/changelog/`
127+
1. Checks for entries in `.changelogs/entries/`
128+
2. If entries exist, generates a formatted changelog in `docs/changelog/`
128129
3. Creates a PR with the aggregated changelog
129130
4. Archives processed entries to `.changelogs/published/`
130131

132+
This flexible approach means changelogs are published as soon as there's content, rather than waiting for a fixed schedule.
133+
131134
### Manual Publishing
132135

133136
To manually trigger a changelog release:
@@ -179,7 +182,7 @@ To test the publishing workflow without creating a PR:
179182
#### Publish Changelog (`changelog-publish.yml`)
180183

181184
- **Triggers**:
182-
- Scheduled: Every 2 weeks on Monday at 9 AM UTC
185+
- Scheduled: Every Monday at 9 AM UTC (weekly check)
183186
- Manual: Via workflow dispatch
184187
- **Purpose**: Aggregates and publishes changelogs
185188
- **Actions**:

docs/changelog/README.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Welcome to the BigCommerce Developer Documentation changelog. This section track
44

55
## About This Changelog
66

7-
This changelog is automatically generated from individual changelog entries created by our documentation team. Changes are published on a regular cadence, typically every two weeks.
7+
This changelog is automatically generated from individual changelog entries created by our documentation team. Changes are published weekly when updates are available.
88

99
## Change Categories
1010

0 commit comments

Comments
 (0)