MOBILE-121: Bump GitHub Actions to supported Node runtimes#201
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the repo’s GitHub Actions workflows and helper scripts to use supported Node runtimes by bumping actions to current majors, pinning them by SHA, and replacing the archived release action with a gh-based release helper.
Changes:
- Bumped/pinned GitHub Actions (e.g.,
checkout,setup-java,github-script, gitleaks) and replaced deprecated::set-outputusages with$GITHUB_OUTPUT. - Replaced
actions/create-releasewith an idempotent.github/git-release-ci.shwrapper aroundgh release create. - Added Dependabot configuration for weekly GitHub Actions updates and tightened workflow permissions/secrets wiring.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| version-update.sh | Hardens the script (strict mode) used to update README dependency version. |
| git-release-branch.sh | Hardens local release-branch helper (strict mode, safer read, quoting). |
| .github/workflows/release-version-check.yml | Pins actions by SHA and tightens conditions/env usage for version checks. |
| .github/workflows/publish-reusable.yml | Refactors publishing workflow to use gh release helper; replaces set-output; adjusts permissions/secrets. |
| .github/workflows/publish-manual.yml | Updates permissions and explicitly passes required secrets into the reusable publish workflow. |
| .github/workflows/publish-from-master-or-support.yml | Updates permissions and explicitly passes required secrets into the reusable publish workflow. |
| .github/workflows/publish-dry-run.yml | Pins actions by SHA and adds minimal permissions. |
| .github/workflows/pr-description-validate.yml | Removes unused issue_comment trigger; pins actions; scopes permissions for commenting. |
| .github/workflows/manual-prepare_release_branch.yml | Hardens validation/branch existence checks; improves env handling; pins checkout. |
| .github/workflows/gitleaks-secrets-validate.yml | Pins checkout and gitleaks action; adds minimal permissions. |
| .github/workflows/distribute-reusable.yml | Pins checkout; hardens multiline env export to $GITHUB_ENV. |
| .github/workflows/distribute-release-support-mission.yml | Removes secrets: inherit in favor of explicit secret mapping; adds permissions. |
| .github/workflows/distribute-manual.yml | Removes secrets: inherit in favor of explicit secret mapping; adds permissions. |
| .github/workflows/distribute-develop-mission.yml | Removes secrets: inherit in favor of explicit secret mapping; adds permissions. |
| .github/workflows/analyze_and_test.yml | Pins actions; bumps Java setup action and sets Java 17. |
| .github/git-release-ci.sh | New helper to create GitHub releases via gh, idempotently. |
| .github/dependabot.yml | New Dependabot config to keep GitHub Actions dependencies updated. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
justSmK
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://tracker.yandex.ru/MOBILE-121
What changed
setup-java v5, github-script v9, find-comment v4, create-or-update-comment v5,
gitleaks-action v3, subosito/flutter-action v2.23.0, plus the docker actions
(sakebook pub-publisher, jackbilestech/semver-compare) pinned at their current
versions.
actions/create-release@v1withgh release create --target "$branch", extracted into a shared.github/git-release-ci.shhelper (same approach as android-sdk/ios-sdk) calledonce per published package. The script is idempotent (skips an already-published
tag) and sets the release notes to link to the
Flutter SDK docs. This removes
the last third-party release action —
ghis pre-installed on the runner, sothere's nothing left to pin or bump for release creation.
::set-outputwith$GITHUB_OUTPUT(×3).message-to-loop-if-successjob (LOOP notifications are nolonger used).
.github/dependabot.yml(github-actions, weekly, grouped) to keep actionversions current automatically.
issue_commenttrigger inpr-description-validate.yml(re-validation is already handled bypull_request: edited); hardened the local release helper scripts.