chore: Update ospo-reusable-workflows to new GitHub org#422
Conversation
There was a problem hiding this comment.
Pull request overview
Updates this repository’s GitHub Actions workflows to consume the same pinned reusable workflows from a new upstream location (github-community-projects/ospo-reusable-workflows), affecting release automation and PR metadata automation.
Changes:
- Switch reusable workflow references from
github/ospo-reusable-workflowstogithub-community-projects/ospo-reusable-workflowsin release automation. - Switch reusable workflow reference for PR title linting to the new upstream repo.
- Switch reusable workflow reference for auto-labeling to the new upstream repo.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/release.yml | Points release, image release, and release-discussion jobs at the new reusable-workflows repo. |
| .github/workflows/pr-title.yml | Points PR title lint job at the new reusable-workflows repo. |
| .github/workflows/auto-labeler.yml | Points auto-labeler job at the new reusable-workflows repo. |
| contents: write | ||
| pull-requests: read | ||
| uses: github/ospo-reusable-workflows/.github/workflows/release.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e | ||
| uses: github-community-projects/ospo-reusable-workflows/.github/workflows/release.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e |
There was a problem hiding this comment.
Switching the reusable workflow owner to github-community-projects while keeping the same pinned commit SHA will cause this workflow to fail if that exact SHA doesn’t exist in the new repository (e.g., if this wasn’t a straight repo transfer). Please confirm the commit is present in the target repo and that the repo is allowed by any Actions allowlist/org policy; otherwise update the ref to a valid commit/tag in the new repo.
| pull-requests: read | ||
| statuses: write | ||
| uses: github/ospo-reusable-workflows/.github/workflows/pr-title.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e | ||
| uses: github-community-projects/ospo-reusable-workflows/.github/workflows/pr-title.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e |
There was a problem hiding this comment.
This workflow now calls a reusable workflow from github-community-projects/...@3b691dff. If that SHA isn’t present in the new repo (or isn’t permitted by org Actions policy), the job will fail to run. Please verify the new repo contains that commit or update the ref accordingly.
| uses: github-community-projects/ospo-reusable-workflows/.github/workflows/pr-title.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e | |
| uses: github-community-projects/ospo-reusable-workflows/.github/workflows/pr-title.yaml@main |
| contents: read | ||
| pull-requests: write | ||
| uses: github/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e | ||
| uses: github-community-projects/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e |
There was a problem hiding this comment.
This switches the reusable workflow reference to github-community-projects/...@3b691dff. If that commit SHA doesn’t exist in the new repository (or is blocked by an Actions allowlist), the workflow will error at dispatch time. Please validate the new repo/ref is correct.
| uses: github-community-projects/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e | |
| uses: github-community-projects/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@v1 |
The github/ospo-reusable-workflows repository has moved to the github-community-projects organization. Update all workflow references to use the new location. Signed-off-by: jmeridth <jmeridth@gmail.com>
637df9a to
4af4f0a
Compare
What
Updated GitHub Actions workflow references from
github/ospo-reusable-workflowstogithub-community-projects/ospo-reusable-workflows.Why
The ospo-reusable-workflows repository has been transferred to the github-community-projects organization.
Notes