From bccb0fec1bb9646a19a1e8be395018d79fe5bb67 Mon Sep 17 00:00:00 2001 From: Yogeswaran K <166126056+yogeswaransky@users.noreply.github.com> Date: Sun, 5 Jul 2026 16:27:36 +0530 Subject: [PATCH 1/2] RDKE-1065: Automated Component release workflow (#562) Signed-off-by: Yogeswaran K --- .../workflows/component-release-finish-on-approval.yml | 2 +- .github/workflows/component-release-workflow-usage.md | 8 +++++++- .github/workflows/component-release.yml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/component-release-finish-on-approval.yml b/.github/workflows/component-release-finish-on-approval.yml index 27720f6f..b414972f 100755 --- a/.github/workflows/component-release-finish-on-approval.yml +++ b/.github/workflows/component-release-finish-on-approval.yml @@ -23,7 +23,7 @@ jobs: env: REPO: ${{ github.repository }} ACTOR: ${{ github.event.review.user.login }} - GH_TOKEN: ${{ secrets.RDKCM_RDKE }} + GH_TOKEN: ${{ github.token }} RELEASE_BRANCH: ${{ github.event.pull_request.head.ref }} steps: diff --git a/.github/workflows/component-release-workflow-usage.md b/.github/workflows/component-release-workflow-usage.md index 2c62d0e3..9341e5e6 100755 --- a/.github/workflows/component-release-workflow-usage.md +++ b/.github/workflows/component-release-workflow-usage.md @@ -62,7 +62,13 @@ Triggered on approved review for `release/*` PRs targeting `develop`. Both workflows use: - `RDKCM_DEPLOY_KEY`: SSH private key used by checkout and git push operations. -- `RDKCM_RDKE`: token used by `gh` API/CLI calls. +- `github.token`: built-in GitHub Actions token used by `gh` API/CLI calls. + +Why `github.token`: + +- It is automatically provided for each workflow run. +- It avoids introducing a custom repository secret for API access. +- It works with the workflow permissions already declared in these jobs. ## Failure Cleanup Safety diff --git a/.github/workflows/component-release.yml b/.github/workflows/component-release.yml index 01913c2b..a0963aa2 100755 --- a/.github/workflows/component-release.yml +++ b/.github/workflows/component-release.yml @@ -44,7 +44,7 @@ jobs: SOURCE_BRANCH: ${{ github.event.inputs.source_branch }} REPO: ${{ github.repository }} ACTOR: ${{ github.actor }} - GH_TOKEN: ${{ secrets.RDKCM_RDKE }} + GH_TOKEN: ${{ github.token }} steps: - name: Validate version format From 400a9c404b649a64982be73b352d9b55eec20a3b Mon Sep 17 00:00:00 2001 From: apatel859 <48992974+apatel859@users.noreply.github.com> Date: Tue, 7 Jul 2026 14:35:22 -0400 Subject: [PATCH 2/2] RDKEMW-21159: avoid thermal call in deepsleep (#548) (#566) * RDKEMW-21159: avoid thermal call in deepsleep * Apply suggestions from code review --------- Signed-off-by: apatel859 Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- lib/rdk/temperature-telemetry.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/rdk/temperature-telemetry.sh b/lib/rdk/temperature-telemetry.sh index f2841cdc..dd6a33d5 100644 --- a/lib/rdk/temperature-telemetry.sh +++ b/lib/rdk/temperature-telemetry.sh @@ -21,7 +21,14 @@ if [ -f /lib/rdk/t2Shared_api.sh ]; then source /lib/rdk/t2Shared_api.sh fi -boardTemp=`/bin/cat /sys/class/thermal/thermal_zone0/temp | sed 's/./&./2'`c + +powerState=$(/usr/bin/QueryPowerState) + +if [ "$powerState" != "DEEPSLEEP" ]; then + boardTemp=`/bin/cat /sys/class/thermal/thermal_zone0/temp | sed 's/./&./2'`c +else + boardTemp="Device in Deepsleep" +fi /bin/echo Temperature:$boardTemp t2ValNotify "Board_temperature_split" "$boardTemp"