Skip to content

chore: replace release.py with release-tool action#477

Open
hhvrc wants to merge 9 commits into
developfrom
feat/better-tagging
Open

chore: replace release.py with release-tool action#477
hhvrc wants to merge 9 commits into
developfrom
feat/better-tagging

Conversation

@hhvrc

@hhvrc hhvrc commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Removes the hand-rolled scripts/release.py (and its PyYAML dependency) now that all release workflows delegate to the OpenShock/release-tool action.

Changes

  • check-changes.yml: uses release-tool (mode: check) + uploads a release-check.json verdict artifact; PR commenting moved to the new pr-check-comment.yml workflow (triggered via workflow_run)
  • release.yml: fully rewritten to use release-tool (mode: release); publishes to the OpenShock API via OIDC and attaches release.json to the GitHub Release
  • scripts/release.py + scripts/requirements.txt: deleted — superseded entirely by the action
  • .changes/README.md: extended with Release JSON contract docs, pr: field clarified as maintainer-only
  • .changes/config.json: added to support category validation in the action

hhvrc and others added 5 commits June 1, 2026 20:44
Combines the release.py improvements and .changes doc additions from
fix/changes-release-scripts with the release-tool-based check-changes
workflow refactor from feat/better-tagging.

Conflict resolutions:
- .changes/README.md: took fix branch (more complete docs + Release JSON contract section)
- .github/workflows/check-changes.yml: kept HEAD (release-tool action + separate pr-check-comment.yml)
@hhvrc hhvrc self-assigned this Jun 5, 2026
Copilot AI review requested due to automatic review settings June 5, 2026 09:50
@hhvrc hhvrc added in: ci Issues in the CI pipeline type: enhancement labels Jun 5, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Roadmap Jun 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the firmware repository’s release automation away from the custom scripts/release.py implementation to the OpenShock/release-tool GitHub Action, updating workflows and the .changes/ contract/docs accordingly.

Changes:

  • Rework .github/workflows/release.yml to use OpenShock/release-tool for generating release metadata/notes and tagging.
  • Update .changes/ documentation and entries (including the “Release Note” section) and add .changes/config.json for validation/config.
  • Remove the legacy Python-based release script and its dependency list.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
scripts/requirements.txt Removes PyYAML dependency (legacy release script dependency).
scripts/release.py Deletes the hand-rolled release helper (superseded by release-tool).
.github/workflows/release.yml Switches the release workflow to run OpenShock/release-tool and publish outputs.
.github/workflows/check-changes.yml Adjusts PR-time change checking and artifact upload (now producing release-check.json).
.changes/README.md Updates change-file format/docs and expands the release JSON contract documentation.
.changes/config.json Adds release-tool validation/config (categories + branch release modes).
.changes/wellturn-t330.md Updates change entry formatting and frontmatter.
.changes/visual-ledc-drivers.md Updates change entry formatting and frontmatter.
.changes/keepalive-timeout-reconnect.md Updates change entry frontmatter.
.changes/frontend-svelte5.md Updates change entry formatting and frontmatter.
.changes/cleanup-function-names.md Updates change entry frontmatter.
.changes/captive-portal-wizard.md Updates change entry formatting and frontmatter.
.changes/bug-fixes.md Updates change entry formatting and frontmatter.

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

Comment thread .github/workflows/check-changes.yml Outdated
Comment thread .changes/wellturn-t330.md
Comment on lines 1 to 4
---
type: minor
pr: null
---
Comment on lines 1 to 4
---
type: minor
pr: 435
---
Comment on lines 1 to 4
---
type: minor
pr: 469
---
Comment on lines 1 to 4
---
type: minor
pr: 427
---
Comment on lines 1 to 4
---
type: minor
pr: 426
---
Comment on lines 1 to 4
---
type: patch
pr: 437
---
Comment thread .changes/bug-fixes.md
Comment on lines 1 to 4
---
type: patch
pr: 424
---
Comment thread .changes/README.md
@@ -11,19 +9,19 @@ Drop one markdown file per change in this directory. At release time, `scripts/r
type: minor # required: major | minor | patch
breaking: false # optional: bool, defaults true if type==major
categories: [captive-portal, wifi] # optional: list, validated against enum
Comment thread .changes/README.md

**Changelog entry** (required): everything between the frontmatter and the first `##` section. First line is the title, rest is the body.

**Release Note** (optional): short user-friendly markdown for the website/app UI. Included in `release.json`, not in `CHANGELOG.md`.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Change file check

OK — 1 valid change file(s) added in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: ci Issues in the CI pipeline type: enhancement

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants