Skip to content

Update github actions (major)#2254

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-github-actions
Open

Update github actions (major)#2254
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-github-actions

Conversation

@renovate

@renovate renovate Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
actions/checkout action major v4v7
actions/deploy-pages action major v4v5
actions/github-script action major v7v9
actions/upload-pages-artifact action major v3v5

Release Notes

actions/checkout (actions/checkout)

v7.0.0

Compare Source

v7

Compare Source

v6.0.3

Compare Source

v6.0.2

Compare Source

v6.0.1

Compare Source

v6.0.0

Compare Source

v6

Compare Source

v5.0.1

Compare Source

v5.0.0

Compare Source

v5

Compare Source

actions/deploy-pages (actions/deploy-pages)

v5.0.0

Compare Source

Changelog

See details of all code changes since previous release.

⚠️ For use with products other than GitHub.com, such as GitHub Enterprise Server, please consult the compatibility table.

v5

Compare Source

actions/github-script (actions/github-script)

v9.0.0

Compare Source

New features:

  • getOctokit factory function — Available directly in the script context. Create additional authenticated Octokit clients with different tokens for multi-token workflows, GitHub App tokens, and cross-org access. See Creating additional clients with getOctokit for details and examples.
  • Orchestration ID in user-agent — The ACTIONS_ORCHESTRATION_ID environment variable is automatically appended to the user-agent string for request tracing.

Breaking changes:

  • require('@​actions/github') no longer works in scripts. The upgrade to @actions/github v9 (ESM-only) means require('@​actions/github') will fail at runtime. If you previously used patterns like const { getOctokit } = require('@​actions/github') to create secondary clients, use the new injected getOctokit function instead — it's available directly in the script context with no imports needed.
  • getOctokit is now an injected function parameter. Scripts that declare const getOctokit = ... or let getOctokit = ... will get a SyntaxError because JavaScript does not allow const/let redeclaration of function parameters. Use the injected getOctokit directly, or use var getOctokit = ... if you need to redeclare it.
  • If your script accesses other @actions/github internals beyond the standard github/octokit client, you may need to update those references for v9 compatibility.
What's Changed
New Contributors

Full Changelog: actions/github-script@v8.0.0...v9.0.0

v9

Compare Source

v8.0.0

Compare Source

v8: .0.0

Compare Source

What's Changed

⚠️ Minimum Compatible Runner Version

v2.327.1
Release Notes

Make sure your runner is updated to this version or newer to use this release.

New Contributors

Full Changelog: actions/github-script@v7.1.0...v8.0.0

actions/upload-pages-artifact (actions/upload-pages-artifact)

v5.0.0

Compare Source

Changelog

See details of all code changes since previous release.

v5

Compare Source

v4.0.0

Compare Source

What's Changed

Full Changelog: actions/upload-pages-artifact@v3.0.1...v4.0.0

v4

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the 🚚 private-dependencies Private dependency label Jun 30, 2026
@renovate renovate Bot enabled auto-merge June 30, 2026 00:27
@github-actions github-actions Bot added the :shipit: merge Shipit! label Jun 30, 2026
@github-actions github-actions Bot added this to the v10.0.6 milestone Jun 30, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit 591e8c7. ± Comparison against base commit 6856494.

♻️ This comment has been updated with latest results.

@codacy-production codacy-production Bot 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

While the PR successfully upgrades several core GitHub Actions and is considered 'up to standards' by Codacy, there are critical functional considerations regarding breaking changes in the new major versions.

Key risks include the migration to ESM in actions/github-script, which will break any existing logic using require(), and the new default exclusion of dotfiles in actions/upload-pages-artifact. Furthermore, several workflows modified in this PR are synchronized from templates; manual changes to these files will likely be overwritten in future synchronization cycles. These items should be addressed to ensure the reliability of the CI/CD pipeline and maintain configuration integrity.

About this PR

  • The upgrade to the latest major version of actions/github-script represents an ESM-only migration. Any internal scripts within your workflows that utilize require('@actions/github') will fail at runtime. Ensure all inline or referenced scripts are updated to use ESM import syntax or the provided global context.

Test suggestions

  • Verify that documentation artifacts uploaded via actions/upload-pages-artifact still render correctly on GitHub Pages, specifically checking for the presence of hidden files like .nojekyll.
  • Validate that internal JavaScript logic in squad-heartbeat.yml and squad-issue-assign.yml remains compatible with the ESM-only actions/github-script@v9 (no use of require('@actions/github')).
  • Confirm that the deployment workflow in deploy-pages.yml successfully executes with actions/deploy-pages@v5.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that documentation artifacts uploaded via actions/upload-pages-artifact still render correctly on GitHub Pages, specifically checking for the presence of hidden files like .nojekyll.
2. Validate that internal JavaScript logic in squad-heartbeat.yml and squad-issue-assign.yml remains compatible with the ESM-only actions/github-script@v9 (no use of require('@actions/github')).
3. Confirm that the deployment workflow in deploy-pages.yml successfully executes with actions/deploy-pages@v5.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

This workflow is marked as a synchronized file managed via a source template (templates/workflows/squad-heartbeat.yml). Manual changes here create configuration drift and risk being overwritten during the next synchronization. Please apply these updates to the source template or use the 'squad' utility to maintain consistency across all managed locations.

- name: 📤 Upload Pages artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

Starting with the recent major version updates, this action excludes dotfiles by default. If the 'artifacts/docs' directory requires a .nojekyll file or other hidden configuration files for correct GitHub Pages rendering, you must now explicitly set the 'include-hidden-files' input to true.

@renovate renovate Bot force-pushed the renovate/major-github-actions branch from 0ae219d to 591e8c7 Compare June 30, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:shipit: merge Shipit! 🚚 private-dependencies Private dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants