Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/component-release-workflow-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/component-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading