Skip to content

chore: change to centralized managed GitHub pool - #1024

Open
tibrnui wants to merge 2 commits into
mainfrom
chore/migrate-runners-to-uipath-images-7a21e4d2
Open

chore: change to centralized managed GitHub pool#1024
tibrnui wants to merge 2 commits into
mainfrom
chore/migrate-runners-to-uipath-images-7a21e4d2

Conversation

@tibrnui

@tibrnui tibrnui commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Moves this repository's workflows to the centralized managed GitHub pool.

  • Runner images are prefixed with uipath- in all workflow files
  • e.g. ubuntu-latestuipath-ubuntu-latest

Changes

All workflow .yml files (including non-standard locations like workflows-src/) with static runs-on values are updated.
Dynamic expressions (${{ ... }}) and already-prefixed images are skipped.

Action Version Pinning

All uses: references are pinned to the SHA of the latest release published ≥ 48h ago.
This prevents supply-chain attacks via recently-published compromised versions.

Copilot AI review requested due to automatic review settings August 6, 2026 10:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates GitHub Actions workflows in uipath-langchain-python to run on UiPath’s centralized managed runner pool by switching static runs-on labels to uipath-* variants, and hard-pins uses: action references to specific commit SHAs for supply-chain hardening.

Changes:

  • Replace ubuntu-latest / windows-latest runner labels with uipath-ubuntu-latest / uipath-windows-latest in workflow jobs and matrices.
  • Pin uses: action references (e.g., actions/checkout, actions/setup-python, actions/upload-artifact) to specific SHAs.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/test.yml Updates OS matrix runner labels and pins actions; requires follow-up fixes to OS-based if: conditions (see PR comments).
.github/workflows/test-custom-version.yml Updates OS matrix runner labels and pins actions for custom-version testing.
.github/workflows/publish-prior-stable-version.yml Switches to uipath-ubuntu-latest and pins setup actions used during publishing.
.github/workflows/publish-docs.yml Switches docs publish runner to uipath-ubuntu-latest.
.github/workflows/publish-dev.yml Switches dev publish runner to uipath-ubuntu-latest and pins setup actions.
.github/workflows/model_onboarding.yml Switches onboarding jobs to uipath-ubuntu-latest and pins checkout.
.github/workflows/lint.yml Switches lint jobs to uipath-ubuntu-latest and pins setup actions.
.github/workflows/lint-custom-version.yml Switches custom-version lint runner to uipath-ubuntu-latest and pins setup actions.
.github/workflows/integration_tests.yml Switches integration test jobs to uipath-ubuntu-latest and pins checkout.
.github/workflows/commitlint.yml Switches commitlint runner to uipath-ubuntu-latest and pins checkout/commitlint actions.
.github/workflows/cd.yml Switches CD jobs to uipath-ubuntu-latest and pins artifact + PyPI publish actions.
Suppressed comments (2)

.github/workflows/test.yml:70

  • This if: condition still checks matrix.os == 'ubuntu-latest', but the matrix now uses uipath-ubuntu-latest. As a result, the coverage HTML artifact will never be uploaded.
      - name: Upload coverage HTML report
        if: "!contains(github.event.pull_request.labels.*.name, 'test-core-dev-version') && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' && always()"
        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02  # v4.6.2

.github/workflows/test.yml:78

  • This if: condition still checks matrix.os == 'ubuntu-latest', but the matrix now uses uipath-ubuntu-latest. As a result, the coverage XML artifact will never be uploaded/downloaded by later jobs.
      - name: Upload coverage XML report
        if: "!contains(github.event.pull_request.labels.*.name, 'test-core-dev-version') && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' && always()"
        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02  # v4.6.2

Comment on lines 42 to +44
- name: Setup Python
if: "!contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')"
uses: actions/setup-python@v5
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
11 workflow file(s) modified, 32 action(s) pinned
Runners migrated: ubuntu-latest ubuntu-24.04 ubuntu-22.04 ubuntu-24.04-arm ubuntu-22.04-arm
ubuntu-slim ubuntu-18.04 ubuntu-20.04 windows-latest
@tibrnui
tibrnui force-pushed the chore/migrate-runners-to-uipath-images-7a21e4d2 branch from 57502d3 to 2ef61c3 Compare August 6, 2026 13:48
@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

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.

3 participants