Skip to content

Update workflow actions to current major versions#241

Merged
Sp3EdeR merged 3 commits into
masterfrom
copilot/update-workflows-to-latest-version
Apr 12, 2026
Merged

Update workflow actions to current major versions#241
Sp3EdeR merged 3 commits into
masterfrom
copilot/update-workflows-to-latest-version

Conversation

Copilot AI commented Apr 12, 2026

Copy link
Copy Markdown
Contributor
  • Inspect the failing workflow run and identify the root cause
  • Review the workflow Python setup used by the PR
  • Pin workflow Python setup to a ubuntu-latest-compatible version that has wheels for the existing pinned dependencies
  • Re-run the repository validation/build steps with the chosen Python version
  • Run automated review/security validation on the workflow update
  • Update the pull request

Agent-Logs-Url: https://github.com/Sp3EdeR/huroutes/sessions/7c6d4b80-c8d7-431e-9b9d-b958b6dd0df5

Co-authored-by: Sp3EdeR <22780322+Sp3EdeR@users.noreply.github.com>
Copilot AI requested a review from Sp3EdeR April 12, 2026 08:48
@Sp3EdeR Sp3EdeR marked this pull request as ready for review April 12, 2026 08:54
Copilot AI review requested due to automatic review settings April 12, 2026 08:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates this repo’s GitHub Actions workflows to use newer action versions and switches Python script execution to isolated virtual environments (avoiding sudo pip install on ubuntu-latest).

Changes:

  • Updated workflow action references (e.g., actions/checkout, actions/setup-python, github/codeql-action) to newer major versions.
  • Replaced global pip installs with per-job/per-run virtual environments for the database validation and website build Python scripts.
  • Refactored the composite build-website action to provision a single venv and reuse it across steps.

Reviewed changes

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

File Description
.github/workflows/huroutes-static-tests.yml Updates checkout/CodeQL actions and runs DB validation via a Python venv.
.github/workflows/deploy-website-build.yml Adds Python setup before running the website build composite action; updates checkout.
.github/workflows/deploy-pr-preview.yml Adds Python setup before running the website build composite action; updates checkout.
.github/actions/build-website/action.yml Replaces sudo pip install with a venv and reuses a single interpreter for both Python build steps.

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

Comment thread .github/workflows/huroutes-static-tests.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 12, 2026 09:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s GitHub Actions workflows to newer major versions and makes Python-based workflow steps safer/reproducible on ubuntu-latest by avoiding system-wide pip installs.

Changes:

  • Bumps actions/checkout, actions/setup-python, and CodeQL workflow actions to newer major versions.
  • Replaces sudo pip install ... with per-job virtual environments for running the repo’s Python scripts.
  • Updates the website build composite action to run optimization and curve-map generation via a shared venv Python.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/huroutes-static-tests.yml Updates checkout/CodeQL actions, adds Python setup, runs DB validation inside a venv.
.github/workflows/deploy-website-build.yml Adds Python setup prior to invoking the site build composite action; updates checkout action.
.github/workflows/deploy-pr-preview.yml Adds Python setup prior to invoking the site build composite action; updates checkout action.
.github/actions/build-website/action.yml Switches from global sudo pip install to an isolated venv and reuses that interpreter across steps.

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

Agent-Logs-Url: https://github.com/Sp3EdeR/huroutes/sessions/1b7d3a9a-3374-460b-8ee4-b66235ad823d

Co-authored-by: Sp3EdeR <22780322+Sp3EdeR@users.noreply.github.com>
Copilot AI requested a review from Sp3EdeR April 12, 2026 09:10
@github-actions

github-actions Bot commented Apr 12, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-12 09:23 UTC

@Sp3EdeR Sp3EdeR requested a review from Csempi April 12, 2026 09:19
@Sp3EdeR Sp3EdeR merged commit a306695 into master Apr 12, 2026
4 checks passed
@Sp3EdeR Sp3EdeR deleted the copilot/update-workflows-to-latest-version branch April 12, 2026 09:23
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.

4 participants