Skip to content

Use GitHub CLI in version-management workflow instead of deprecated Node 20 action - #305

Closed
hossain-khan wants to merge 1 commit into
mainfrom
fix/version-management-gh-cli
Closed

Use GitHub CLI in version-management workflow instead of deprecated Node 20 action#305
hossain-khan wants to merge 1 commit into
mainfrom
fix/version-management-gh-cli

Conversation

@hossain-khan

Copy link
Copy Markdown
Collaborator

Summary

This PR replaces peter-evans/create-pull-request@v7 in .github/workflows/version-management.yml with native gh pr create using the preinstalled GitHub CLI.

Why

  • The runner reported a deprecation warning because peter-evans/create-pull-request@v7 was defined targeting Node.js 20, whereas runner environments are now defaulting to Node.js 24.
  • Switching to native gh pr create removes the third-party JavaScript action dependency entirely and leverages GitHub CLI natively on the runner with zero Node.js runtime deprecation warnings.
  • Added explicit workflow permissions (contents: write, pull-requests: write).

Checked Other Workflows

  • Verified android.yml, android-lint.yml, android-release.yml, and test-keystore*.yml. All other workflows are using current action versions (actions/checkout@v6, actions/setup-java@v5, gradle/actions/setup-gradle@v6, actions/upload-artifact@v7, dorny/paths-filter@v4) and require no further updates.

@hossain-khan
hossain-khan deleted the fix/version-management-gh-cli branch August 15, 2026 11:29
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