From 5c67e39b55d2767340ee9aa41c32aba7d0a2dfa6 Mon Sep 17 00:00:00 2001 From: bunnam988 <107185904+bunnam988@users.noreply.github.com> Date: Thu, 9 Jul 2026 18:51:08 +0530 Subject: [PATCH 1/3] Add PR Format Check workflow (#59) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Adds a 9-line caller workflow that runs the shared PR format check from `rdkcentral/build_tools_workflows`. **Depends on:** rdkcentral/build_tools_workflows#65 (merge that first) ## What it does Automatically checks every new/edited PR (including fork PRs) for: - Title format: `TICKET-123 : description` (multiple tickets supported) - Required description fields: Reason for change, Test Procedure, Risks, Priority **Fails** the check and posts a reminder comment if format is incorrect. Deletes the comment automatically when fixed. ## Files changed - `.github/workflows/pr-lint.yml` (9 lines — caller only, no logic) --- .github/workflows/pr-lint.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/pr-lint.yml diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml new file mode 100644 index 0000000..f59c4d3 --- /dev/null +++ b/.github/workflows/pr-lint.yml @@ -0,0 +1,9 @@ +name: PR Format Check + +on: + pull_request_target: + types: [opened, edited] + +jobs: + lint: + uses: rdkcentral/build_tools_workflows/.github/workflows/pr-lint.yml@develop From 5f30d4a4ea60b6f7b8087ec87bad335ebddd4ad5 Mon Sep 17 00:00:00 2001 From: bunnam988 <107185904+bunnam988@users.noreply.github.com> Date: Wed, 15 Jul 2026 11:40:00 +0530 Subject: [PATCH 2/3] RDKB-66032 : Add explicit permissions block to PR Format Check workflow (#62) ## Summary Adds an explicit least-privilege `permissions` block to the PR Format Check caller workflow, resolving the CodeQL warning `actions/missing-workflow-permissions`. ```yaml permissions: contents: read pull-requests: write ``` Without this, the workflow inherits the repo/org default token permissions (potentially read-write). This restricts it to the minimum required. ## Files changed - `.github/workflows/pr-lint.yml` --- .github/workflows/pr-lint.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index f59c4d3..7b2c503 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -2,7 +2,16 @@ name: PR Format Check on: pull_request_target: - types: [opened, edited] + types: [opened, edited, synchronize, reopened] + +permissions: + contents: read + issues: write + pull-requests: write + +concurrency: + group: pr-format-check-${{ github.event.pull_request.number }} + cancel-in-progress: true jobs: lint: From 9d75e2d25f8fc9d04ebc1c54a548a5de1f6be986 Mon Sep 17 00:00:00 2001 From: bunnam988 Date: Wed, 22 Jul 2026 09:07:24 +0000 Subject: [PATCH 3/3] Add changelog for release 2.5.0 --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82ed2df..2449697 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,19 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [2.5.0](https://github.com/rdkcentral/hotspot/compare/2.4.0...2.5.0) + +- RDKB-66032 : Add explicit permissions block to PR Format Check workflow [`#62`](https://github.com/rdkcentral/hotspot/pull/62) +- Add PR Format Check workflow [`#59`](https://github.com/rdkcentral/hotspot/pull/59) +- Merge tag '2.4.0' into develop [`b6d33bd`](https://github.com/rdkcentral/hotspot/commit/b6d33bdb832a924fe19731f8ca8e711ad5d93f5d) + #### [2.4.0](https://github.com/rdkcentral/hotspot/compare/2.3.0...2.4.0) +> 15 June 2026 + - RDKB-65460:[8.6s4] [QE] Gretap's for Managed wifi getting deleted when moving to bridge mode [`#51`](https://github.com/rdkcentral/hotspot/pull/51) - RDKCOM-5536: RDKBDEV-3380 Add hotspot Documentation [`#37`](https://github.com/rdkcentral/hotspot/pull/37) +- Add changelog for release 2.4.0 [`135d8ef`](https://github.com/rdkcentral/hotspot/commit/135d8efb0b5e15b29cad07bee52ac2e7cd5b9640) - Merge tag '2.3.0' into develop [`0848273`](https://github.com/rdkcentral/hotspot/commit/084827339be309fec2152729ecd3e1e22f758167) #### [2.3.0](https://github.com/rdkcentral/hotspot/compare/2.2.0...2.3.0)