Skip to content

Add Release and Label GitHub Action#57

Open
Snuffy2 wants to merge 1 commit intotwrecked:masterfrom
Snuffy2:Release-GitHub-Action
Open

Add Release and Label GitHub Action#57
Snuffy2 wants to merge 1 commit intotwrecked:masterfrom
Snuffy2:Release-GitHub-Action

Conversation

@Snuffy2
Copy link
Copy Markdown
Contributor

@Snuffy2 Snuffy2 commented Oct 8, 2025

On a Release:

  • Automatically update the version in const.py and manifest.json to the Semver tag of the release
  • Zip the release so you can see number of downloads in HACS
  • Auto label some PRs and use the labels to group auto generated release notes

This pull request introduces automated labeling and release management workflows to the repository, along with configuration updates to support zip-based releases. The main changes include adding GitHub Actions for labeling and release automation, defining label rules, configuring changelog categories, and updating release packaging metadata.

GitHub Actions Workflows:

  • Added .github/workflows/labeler.yml to automatically apply labels to pull requests based on author and title patterns.
  • Added .github/workflows/release.yml to automate version updates, zip packaging, and release asset uploads when a release is published or manually triggered.

Labeling and Changelog Configuration:

  • Introduced .github/labeler.yml to define label rules for pull requests, including categories for dependencies, bugfixes, features, breaking changes, enhancements, documentation, code quality, and GitHub Actions.
  • Added .github/release.yml to configure changelog generation, excluding certain labels and grouping changes into categories for release notes.

Release Packaging Metadata:

  • Updated hacs.json to indicate that releases should include a zip file (momentary.zip) for distribution.

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.

1 participant