🔄 CI/CD: Pin GitHub Action versions to validated majors#753
🔄 CI/CD: Pin GitHub Action versions to validated majors#753
Conversation
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>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
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>
This PR ensures reliable pipeline execution by updating several unresolvable, non-existent GitHub action versions to their respective latest validated major versions.
Changes:
actions/checkout@v6withv4actions/upload-artifact@v7withv4actions/upload-pages-artifact@v4withv3github/codeql-action/*@v4withv3actions/cache@v5withv4actions/github-script@v8withv7getLowScoringTopics) insrc/pages/__tests__/Exercises.test.tsxwhich 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