Skip to content

Commit 95e2f1a

Browse files
committed
format the output and simplify PR description
1 parent 9ba00ce commit 95e2f1a

File tree

2 files changed

+18
-24
lines changed

2 files changed

+18
-24
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ jobs:
924924
continue-on-error: true
925925
run: |
926926
make sqlc-push
927-
927+
928928
update-calendar:
929929
name: "Update release calendar in docs"
930930
runs-on: "ubuntu-latest"
@@ -938,21 +938,22 @@ jobs:
938938
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
939939
with:
940940
egress-policy: audit
941-
941+
942942
- name: Checkout repository
943943
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
944944
with:
945-
fetch-depth: 0 # Needed to get all tags for version calculation
946-
945+
fetch-depth: 0 # Needed to get all tags for version calculation
946+
947947
- name: Set up Git
948948
run: |
949-
git config user.name "Coder Bot"
950-
git config user.email "coder-bot@coder.com"
951-
949+
git config user.name "Coder CI"
950+
git config user.email "cdrci@coder.com"
951+
952952
- name: Run update script
953953
run: |
954954
./scripts/update-release-calendar.sh
955-
955+
make fmt/markdown
956+
956957
- name: Check for changes
957958
id: check_changes
958959
run: |
@@ -963,7 +964,7 @@ jobs:
963964
echo "Changes detected in release calendar."
964965
echo "changes=true" >> $GITHUB_OUTPUT
965966
fi
966-
967+
967968
- name: Create Pull Request
968969
if: steps.check_changes.outputs.changes == 'true'
969970
uses: peter-evans/create-pull-request@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
@@ -972,13 +973,6 @@ jobs:
972973
title: "docs: update release calendar"
973974
body: |
974975
This PR automatically updates the release calendar in the docs.
975-
976-
The calendar shows:
977-
- Not Supported (older versions)
978-
- Security Support (`n-2`)
979-
- Stable (`n-1`)
980-
- Mainline (`n`)
981-
- Next Release (`n+1`, Not Released)
982976
branch: bot/update-release-calendar
983977
delete-branch: true
984978
labels: docs

docs/install/releases/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ pages.
5555
## Release schedule
5656

5757
<!-- RELEASE_CALENDAR_START -->
58-
| Release name | Release Date | Status | Latest Release |
59-
|-------------|-------------------|------------------|----------------|
60-
| [2.16](https://coder.com/changelog/coder-2-16) | November 05, 2024 | Not Supported | [v2.16.1](https://github.com/coder/coder/releases/tag/v2.16.1) |
61-
| [2.17](https://coder.com/changelog/coder-2-17) | December 03, 2024 | Not Supported | [v2.17.3](https://github.com/coder/coder/releases/tag/v2.17.3) |
62-
| [2.18](https://coder.com/changelog/coder-2-18) | February 04, 2025 | Not Supported | [v2.18.5](https://github.com/coder/coder/releases/tag/v2.18.5) |
58+
| Release name | Release Date | Status | Latest Release |
59+
|------------------------------------------------|-------------------|------------------|----------------------------------------------------------------|
60+
| [2.16](https://coder.com/changelog/coder-2-16) | November 05, 2024 | Not Supported | [v2.16.1](https://github.com/coder/coder/releases/tag/v2.16.1) |
61+
| [2.17](https://coder.com/changelog/coder-2-17) | December 03, 2024 | Not Supported | [v2.17.3](https://github.com/coder/coder/releases/tag/v2.17.3) |
62+
| [2.18](https://coder.com/changelog/coder-2-18) | February 04, 2025 | Not Supported | [v2.18.5](https://github.com/coder/coder/releases/tag/v2.18.5) |
6363
| [2.19](https://coder.com/changelog/coder-2-19) | February 04, 2025 | Security Support | [v2.19.1](https://github.com/coder/coder/releases/tag/v2.19.1) |
64-
| [2.20](https://coder.com/changelog/coder-2-20) | March 04, 2025 | Stable | [v2.20.2](https://github.com/coder/coder/releases/tag/v2.20.2) |
65-
| [2.21](https://coder.com/changelog/coder-2-21) | April 01, 2025 | Mainline | [v2.21.0](https://github.com/coder/coder/releases/tag/v2.21.0) |
66-
| 2.22 | May 07, 2024 | Not Released | N/A |
64+
| [2.20](https://coder.com/changelog/coder-2-20) | March 04, 2025 | Stable | [v2.20.2](https://github.com/coder/coder/releases/tag/v2.20.2) |
65+
| [2.21](https://coder.com/changelog/coder-2-21) | April 01, 2025 | Mainline | [v2.21.0](https://github.com/coder/coder/releases/tag/v2.21.0) |
66+
| 2.22 | May 07, 2024 | Not Released | N/A |
6767
<!-- RELEASE_CALENDAR_END -->
6868

6969
> [!TIP]

0 commit comments

Comments
 (0)