Skip to content

🔄 CI/CD: Pin GitHub Action versions to validated majors#753

Open
saint2706 wants to merge 3 commits intomainfrom
fix/ci-cd-action-versions-16950794266255125413
Open

🔄 CI/CD: Pin GitHub Action versions to validated majors#753
saint2706 wants to merge 3 commits intomainfrom
fix/ci-cd-action-versions-16950794266255125413

Conversation

@saint2706
Copy link
Owner

This PR ensures reliable pipeline execution by updating several unresolvable, non-existent GitHub action versions to their respective latest validated major versions.

Changes:

  • Replaced actions/checkout@v6 with v4
  • Replaced actions/upload-artifact@v7 with v4
  • Replaced actions/upload-pages-artifact@v4 with v3
  • Replaced github/codeql-action/*@v4 with v3
  • Replaced actions/cache@v5 with v4
  • Replaced actions/github-script@v8 with v7
  • Fixed a broken test mock (getLowScoringTopics) in src/pages/__tests__/Exercises.test.tsx which was causing React unique key warnings.

These updates directly resolve the "unresolved action version" failures that were likely preventing CI pipelines from executing successfully. Tested the build and test process locally.


PR created automatically by Jules for task 16950794266255125413 started by @saint2706

Updates GitHub Actions in all workflow files (.github/workflows/*.yml) to their correct verified stable major versions (e.g. checkout@v4, upload-artifact@v4, github-script@v7) to fix "Cannot resolve action" errors. Fixes a mocked return type in Exercises.test.tsx that was causing React unique key warnings during unit test execution. All build, lint, and tests pass successfully.

Co-authored-by: saint2706 <45678566+saint2706@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules bot and others added 2 commits March 22, 2026 19:34
Fixes a missing JSDOM mock for `HTMLElement.prototype.scrollIntoView` in `src/test/setup.ts`, which was causing uncaught exceptions (`activeLink.scrollIntoView is not a function`) when the `SidebarPerf.test.tsx` test finished or during assertions. This ensures Vitest does not exit with code 1 during the CI process.

Co-authored-by: saint2706 <45678566+saint2706@users.noreply.github.com>
Co-authored-by: saint2706 <45678566+saint2706@users.noreply.github.com>
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.

1 participant