Skip to content

workflows: standardize pkg-* workflow naming#153

Open
simonbeaudoin0935 wants to merge 1 commit into
mainfrom
dev/sbeaudoi
Open

workflows: standardize pkg-* workflow naming#153
simonbeaudoin0935 wants to merge 1 commit into
mainfrom
dev/sbeaudoi

Conversation

@simonbeaudoin0935
Copy link
Copy Markdown
Contributor

Summary

  • rename reusable workflows from qcom-* to pkg-* naming
  • rename package caller templates in .github/pkg-workflows/** to pkg-* names
  • update all uses: references to the new reusable workflow filenames
  • update workflows_sync.yml migration logic to:
    • sync new pkg-* caller files
    • delete legacy caller files (build-debian-package.yml, promote-prebuilt.yml, promote-upstream.yml, release.yml)
    • replace pr-pre-post-merge.yml with pkg-pr-hook.yml on Debian branches
  • update docs/scripts references to the new names
  • add rationale documenting naming split: pkg-* for package lifecycle workflows vs qcom-* for qcom-wide preflight/infra workflows

Workflow Renames

Reusable workflows

  • qcom-build-pkg-reusable-workflow.yml -> pkg-build-reusable-workflow.yml
  • qcom-promote-prebuilt-reusable-workflow.yml -> pkg-promote-prebuilt-reusable-workflow.yml
  • qcom-promote-upstream-reusable-workflow.yml -> pkg-promote-reusable-workflow.yml
  • qcom-release-reusable-workflow.yml -> pkg-release-reusable-workflow.yml
  • qcom-upstream-pr-pkg-build-reusable-workflow.yml -> pkg-upstream-pr-build-reusable-workflow.yml

Caller templates

  • debian/pr-pre-post-merge.yml -> debian/pkg-pr-hook.yml
  • main/build-debian-package.yml -> main/pkg-build.yml
  • main/promote-prebuilt.yml -> main/pkg-promote-prebuilt.yml
  • main/promote-upstream.yml -> main/pkg-promote.yml
  • main/release.yml -> main/pkg-release.yml

Validation

  • local YAML parse check passed for all workflow/template YAML files
  • workflows_sync.yml dry-run passed on this branch: run 26307065318
  • dry-run log confirms migration behavior:
    • legacy main caller filenames removed
    • legacy Debian pr-pre-post-merge.yml removed
    • new pkg-pr-hook.yml created on Debian branches
    • no permission failures in this run

Rename reusable and caller workflow filenames to pkg-* naming.

Update workflows_sync migration to remove legacy caller filenames
and sync pkg-pr-hook.yml across Debian branches.

Update AGENTS, README, and docs to document the pkg-* vs qcom-*
distinction: pkg-* for package lifecycle workflows and qcom-* for
qcom-wide preflight/infra workflows.

Signed-off-by: Simon Beaudoin <sbeaudoi@qti.qualcomm.com>
Copy link
Copy Markdown
Contributor

@keerthi-go keerthi-go left a comment

Choose a reason for hiding this comment

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

Let's hold this off for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants