Skip to content

MOBILE-121: Bump GitHub Actions to supported Node runtimes - #184

Merged
sergeysozinov merged 3 commits into
developfrom
feature/MOBILE-121
Jun 16, 2026
Merged

sergeysozinov merged 3 commits into
developfrom
feature/MOBILE-121

Conversation

@sergeysozinov

Copy link
Copy Markdown
Collaborator

https://tracker.yandex.ru/MOBILE-121

What changed

  • Bumped all actions to current majors and pinned them by SHA: checkout v6,
    setup-node v6, github-script v9, read-file-action v1.1.8, find-comment v4,
    create-or-update-comment v5, gitleaks-action v3.
  • Replaced deprecated ::set-output with $GITHUB_OUTPUT (and fixed a pre-release
    detection step that was missing its id, so it never worked).
  • Added .github/dependabot.yml (github-actions, weekly, grouped) to keep action
    versions current automatically.
  • Committed yarn.lock for reproducible installs (stopped gitignoring it; not
    published to npm). Release flow unchanged — stays yarn release.
  • Pinned lint/test jobs to Node 24; release jobs stay on lts/*.
  • Dropped the broken issue_comment trigger in pr-description-validate.yml
    (re-validation is already handled by pull_request: edited).

Copilot AI 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

This PR modernizes the repository’s GitHub Actions setup to align with currently supported Node runtimes and hardens the supply chain by upgrading actions to current major versions pinned by commit SHA. It also improves workflow correctness (e.g., output handling) and adds automation to keep action versions up to date.

Changes:

  • Upgraded GitHub Actions to newer major versions and pinned them by SHA; added minimal permissions defaults across workflows.
  • Replaced deprecated ::set-output usage with $GITHUB_OUTPUT and fixed prerelease detection wiring.
  • Added Dependabot configuration for weekly grouped github-actions updates; adjusted release tooling scripts and gitignore to allow committing yarn.lock.

Reviewed changes

Copilot reviewed 13 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
git-release-branch.sh Improves shell robustness (env bash, set -euo pipefail) and quoting in the release branch helper script.
.gitignore Stops ignoring yarn.lock to allow reproducible installs.
.github/workflows/release-version-check.yml Pins actions by SHA, tightens branch prefix checks, and uses safer env handling for GitHub env exports.
.github/workflows/publish-reusable.yml Pins actions by SHA, modernizes outputs via $GITHUB_OUTPUT, adds required secret definition, and scopes permissions per job.
.github/workflows/publish-common-trigger.yml Adds default read permissions and passes required secrets explicitly to the reusable workflow.
.github/workflows/pr-description-validate.yml Pins actions by SHA, removes broken issue_comment trigger, and introduces explicit permissions for PR validation/commenting.
.github/workflows/manual-prepare_release_branch.yml Pins actions by SHA, improves input/branch validation, switches to $GITHUB_OUTPUT, and tightens quoting/env handling.
.github/workflows/lint_and_test.yml Pins actions by SHA and updates CI Node version to 24.
.github/workflows/gitleaks-secrets-validate.yml Pins actions by SHA and upgrades gitleaks action major version.
.github/workflows/distribute-reusable.yml Pins checkout by SHA and improves multiline env handling via randomized delimiter.
.github/workflows/distribute-release-support-mission.yml Adds default read permissions and passes required secrets explicitly.
.github/workflows/distribute-manual.yml Adds default read permissions and passes required secrets explicitly.
.github/workflows/distribute-develop-mission.yml Adds default read permissions and passes required secrets explicitly.
.github/dependabot.yml Adds weekly grouped Dependabot updates for GitHub Actions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/publish-reusable.yml Outdated
Comment thread .github/workflows/pr-description-validate.yml
@sergeysozinov
sergeysozinov requested a review from justSmK June 16, 2026 14:40
@sergeysozinov
sergeysozinov merged commit fee4ccb into develop Jun 16, 2026
6 checks passed
@sergeysozinov
sergeysozinov deleted the feature/MOBILE-121 branch June 16, 2026 16:06
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.

3 participants