Skip to content

chore(deps): bump actions/deploy-pages from 4 to 5#39

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/deploy-pages-5
Open

chore(deps): bump actions/deploy-pages from 4 to 5#39
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/deploy-pages-5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Bumps actions/deploy-pages from 4 to 5.

Release notes

Sourced from actions/deploy-pages's releases.

v5.0.0

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.

v4.0.5

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.

v4.0.4

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.

v4.0.3

Changelog

... (truncated)

Commits
  • cd2ce8f Merge pull request #404 from salmanmkc/node24
  • bbe2a95 Update Node.js version to 24.x
  • 854d7aa Merge pull request #374 from actions/Jcambass-patch-1
  • 306bb81 Add workflow file for publishing releases to immutable action package
  • b742728 Merge pull request #360 from actions/dependabot/npm_and_yarn/npm_and_yarn-513...
  • 7273294 Bump braces in the npm_and_yarn group across 1 directory
  • 963791f Merge pull request #361 from actions/dependabot-friendly
  • 51bb29d Make the rebuild dist workflow safer for Dependabot
  • 89f3d10 Merge pull request #358 from actions/dependabot/npm_and_yarn/non-breaking-cha...
  • bce7355 Merge branch 'main' into dependabot/npm_and_yarn/non-breaking-changes-99c12deb21
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated deployment configuration to use the latest version of the GitHub Pages deployment tool, improving deployment reliability and security.

Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4 to 5.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](actions/deploy-pages@v4...v5)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 4, 2026
@dependabot dependabot Bot requested a review from a team June 4, 2026 09:23
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 4, 2026

Review Change Stack

📝 Walkthrough

Walkthrough

The workflow deployment step is updated to use actions/deploy-pages@v5 instead of v4. This is a straightforward version bump of the GitHub Pages deployment action with no other workflow configuration changes.

Changes

GitHub Pages Deployment Action Upgrade

Layer / File(s) Summary
Deploy Pages action version upgrade
.github/workflows/deploy.yml
The actions/deploy-pages action is updated from v4 to v5 in the deployment workflow step.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • hiranyasemindi
  • iamvirul

Poem

🐰 A hop and a skip, v4 takes flight,
v5 now deploys your pages so bright!
GitHub Actions flow with each commit made,
Your site's future is perfectly laid! 📄✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: bumping the actions/deploy-pages dependency from version 4 to 5, which is the sole modification in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/github_actions/actions/deploy-pages-5

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/deploy.yml:
- Line 82: The workflow is using actions/upload-pages-artifact@v5 and
actions/deploy-pages@v5 which have reported issues causing empty/incorrect
deployments; update both usages to a known-good version (recommend using `@v4`) or
pin each action to a specific stable SHA/revision instead of the `@v5` floating
tag, and ensure both upload and deploy actions are moved together (e.g., change
actions/upload-pages-artifact and actions/deploy-pages references to the same
stable `@v4` tag or specific commit SHAs) to prevent mismatched versions and
optionally add SHA pinning for security.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 28de1a48-9237-41bd-b2ef-84acaab50c66

📥 Commits

Reviewing files that changed from the base of the PR and between 1fee58b and fcf60ef.

📒 Files selected for processing (1)
  • .github/workflows/deploy.yml

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
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.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

actions/deploy-pages v5 breaking changes and latest version

💡 Result:

The latest version of actions/deploy-pages as of June 4, 2026, is v5.0.0, released on March 25, 2026 [1][2]. Regarding breaking changes and stability: - Nature of Changes: The v5.0.0 release primarily focused on updating the Node.js runtime to version 24.x [1][2]. It also included various maintenance updates, dependency bumps, and improvements to the release process (e.g., publishing to immutable action packages) [1][2]. - Reported Compatibility Issues: Following its release, some users have reported potential compatibility issues, specifically when used in conjunction with actions/upload-pages-artifact v5.0.0 [3]. Reports indicate that in certain production workflows, these versions resulted in successful deployment runs that served incorrect or empty content [3]. - Mitigation: Due to these reported issues, some projects—such as Azure's awesome-azd repository—have rolled back their production workflows to use v4 [3][4]. If you experience issues after upgrading to v5, it is recommended to revert both actions/deploy-pages and actions/upload-pages-artifact to their respective v4 versions, as they are intended to be used together [3]. - Best Practices: It is highly recommended to pin your actions to specific, immutable commit SHAs in production environments rather than relying on major version tags, which can protect your deployment pipeline from unexpected changes [3]. Always perform a deployment test when upgrading core infrastructure components [3].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE=".github/workflows/deploy.yml"
echo "=== Deploy workflow actions (lines around uses:) ==="
# show only relevant action uses lines to identify upload-pages-artifact version
rg -n "uses:\s*actions/(deploy-pages|upload-pages-artifact)@" "$FILE" || true

echo
echo "=== Context around deploy-pages@... ==="
rg -n -C 3 "uses:\s*actions/deploy-pages@" "$FILE" || true

echo
echo "=== Context around upload-pages-artifact@... ==="
rg -n -C 3 "uses:\s*actions/upload-pages-artifact@" "$FILE" || true

Repository: OpenDevFlow/md-latex

Length of output: 669


🌐 Web query:

actions/deploy-pages latest v5.x release notes upload-pages-artifact v5 compatibility fix

💡 Result:

The v5.x releases of the GitHub Pages actions were issued to modernize the environment, specifically targeting Node.js 24 compatibility and artifact upload improvements [1][2]. actions/deploy-pages v5.0.0 Released on March 25, 2026, this version primarily updated the action's execution environment to Node.js 24 [1]. It includes various maintenance updates and internal improvements but does not contain major breaking changes to the core deployment logic [1][3]. actions/upload-pages-artifact v5.0.0 Released on April 10, 2026, this version introduced a critical update to use actions/upload-artifact@v7 [2]. This change was necessary to resolve issues with the Node.js punycode deprecation warnings and to improve general artifact handling [4]. The release also added a new input, include-hidden-files [2]. Compatibility and Known Issues While these versions are intended to be the latest standards, some users have reported production deployment issues when migrating to v5, such as serving incorrect content or empty artifacts [5]. In some cases, repositories have reverted to v4 to maintain stability while these issues are investigated [6][5]. If you experience issues, ensure that both actions are updated together, as mixing versions can lead to compatibility problems between the artifact upload and deployment steps [5]. Additionally, ensure your workflow configuration is compatible with the new input options in v5.0.0 [5].

Citations:


🌐 Web query:

actions/upload-pages-artifact v5 release notes incorrect empty content when used with deploy-pages v5.0.0

💡 Result:

Reports indicate that users upgrading to actions/upload-pages-artifact v5.0.0 and actions/deploy-pages v5.0.0 have experienced issues where GitHub Pages deployments appear successful in workflow logs but result in empty, incorrect, or stale content on the live site [1]. This behavior has been documented in technical community reports, where users observed that even though the CI pipeline reported a successful deployment, the production site served unexpected files (such as a raw README.md instead of a rendered site) [1]. In some instances, this led teams to revert both actions to version 4 to restore functional deployments [1][2]. While there are no official release notes specifically detailing an "empty content" bug, the version 5 releases introduced significant dependency changes: - actions/upload-pages-artifact v5.0.0 updated its underlying upload-artifact dependency to version 7 [3][4]. - actions/deploy-pages v5.0.0 included updates to Node.js 24 and other maintenance changes [5]. The incompatibility between the artifacts produced by the upgraded upload action and those consumed by the deploy action is the suspected cause of these deployment failures [1]. If you are encountering this issue, the recommended mitigation documented by affected users is to roll back both actions to their previous stable versions (v4) until a verified fix is available [1][2].

Citations:


Check Pages action v5 compatibility (possible empty/incorrect deployments)

This workflow uses actions/upload-pages-artifact@v5 (line 69) together with actions/deploy-pages@v5 (line 82). Reported issues for the v5.0.0 pair include successful workflow runs that deploy empty/incorrect/stale content; the suggested mitigation is rolling back both actions to v4 (or pinning to a known-good revision) until the issue is resolved.
Also, @v5 remains unpinned (SHA pinning is a best-practice security hardening; optional unless repo policy requires it).

🧰 Tools
🪛 zizmor (1.25.2)

[error] 82-82: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)

(unpinned-uses)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/deploy.yml at line 82, The workflow is using
actions/upload-pages-artifact@v5 and actions/deploy-pages@v5 which have reported
issues causing empty/incorrect deployments; update both usages to a known-good
version (recommend using `@v4`) or pin each action to a specific stable
SHA/revision instead of the `@v5` floating tag, and ensure both upload and deploy
actions are moved together (e.g., change actions/upload-pages-artifact and
actions/deploy-pages references to the same stable `@v4` tag or specific commit
SHAs) to prevent mismatched versions and optionally add SHA pinning for
security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants