Skip to content

Commit 9f6a4c4

Browse files
ci: trigger workflow on all tags and update Python versions
Add support for triggering the CI workflow on all tags to ensure tests and validations are carried out on tagged commits. Update the workflow to test against Python versions 3.10, 3.11, and 3.12, ensuring the project is validated on all supported versions.
1 parent 60d87ee commit 9f6a4c4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ permissions:
66
on:
77
push:
88
branches: [ master, main ]
9+
tags: [ 'v[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*', 'v[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*-[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' ]
910
pull_request:
1011
branches: [ master, main ]
1112
workflow_dispatch:

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ All notable changes to the Rooms integration will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## ## [1.2.0] - TBD
8+
## [1.2.1] - 2025-09-22
9+
10+
### Fixed
11+
- Updated CI workflow tag patterns to restrict triggers to version tags matching `vX.X.X` or `vX.X.X-<short-commit-hash>`
12+
- Fixed workflow permissions to resolve code scanning alerts
13+
14+
## [1.2.0] - 2025-09-22
915

1016
### Added
1117
- Individual measurement sensors: `AreaPowerSensor`, `AreaEnergySensor`, `AreaTemperatureSensor`, `AreaHumiditySensor`, `AreaClimateTargetSensor`

0 commit comments

Comments
 (0)