Skip to content

CMFSUPPORT-3744 Autoupdate manifest#35

Merged
scthunderbolt merged 6 commits intodevelopfrom
feature/autoupdate-manifest-rpi-product
Apr 22, 2026
Merged

CMFSUPPORT-3744 Autoupdate manifest#35
scthunderbolt merged 6 commits intodevelopfrom
feature/autoupdate-manifest-rpi-product

Conversation

@scthunderbolt
Copy link
Copy Markdown
Contributor

Add github workflows auto_pr_creation_rpi_manifests.yml

@scthunderbolt scthunderbolt requested a review from a team as a code owner April 22, 2026 14:15
Copilot AI review requested due to automatic review settings April 22, 2026 14:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a reusable GitHub Actions workflow intended to auto-update and open PRs for Raspberry Pi-related manifest repositories when a meta-repo PR is merged.

Changes:

  • Introduces auto_pr_creation_rpi_manifests.yml as a workflow_call reusable workflow.
  • Checks out three manifest repos (vendor/middleware/image-assembler) and runs the shared auto_pr_generation_manifest.py script in each.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

with:
repository: rdkcentral/build_tools_workflows
path: 'tools'
ref: develop
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow checks out rdkcentral/build_tools_workflows using a moving ref (ref: develop). Because this workflow consumes secrets (PAT) and runs code from that repo, pinning to an immutable tag or commit SHA would reduce supply-chain risk and avoid unexpected behavior changes when develop moves.

Suggested change
ref: develop
ref: <FULL_40_CHARACTER_COMMIT_SHA_FOR_REVIEWED_BUILD_TOOLS_WORKFLOWS_REVISION>

Copilot uses AI. Check for mistakes.
Comment on lines +29 to +36
- name: Update Git Config
env:
BOT_EMAIL: ${{ vars.RDKM_BOT_EMAIL }}
run: |
cd vendor_manifest_repo
git config user.name "bot"
git config user.email "$BOT_EMAIL"
cd ..
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are three separate "Update Git Config" steps that run the same commands in different directories. Consider setting git config --global user.name/user.email once (or using working-directory:) to reduce duplication and make future changes less error-prone.

Copilot uses AI. Check for mistakes.
Comment on lines +45 to +52
- name: Update Git Config
env:
BOT_EMAIL: ${{ vars.RDKM_BOT_EMAIL }}
run: |
cd middleware_manifest_repo
git config user.name "bot"
git config user.email "$BOT_EMAIL"
cd ..
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multiple steps share the exact same name ("Update Git Config"), which makes the Actions UI logs harder to interpret when troubleshooting. Rename these steps to indicate which repo they apply to (vendor/middleware/image-assembler).

Copilot uses AI. Check for mistakes.
@scthunderbolt scthunderbolt merged commit 70b1c18 into develop Apr 22, 2026
11 checks passed
@scthunderbolt scthunderbolt deleted the feature/autoupdate-manifest-rpi-product branch April 22, 2026 15:01
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants