Skip to content

Update GitHub Actions and mirror workflow - #30

Merged
dianagudu merged 1 commit into
prerelfrom
chore/update-github-actions
Oct 29, 2026
Merged

dianagudu merged 1 commit into
prerelfrom
chore/update-github-actions

Conversation

@dianagudu

Copy link
Copy Markdown
Collaborator

Summary

  • Update all GitHub Actions to their current major versions:
    • actions/checkout v4/v6 → v7
    • actions/setup-node v4 → v7
    • docker/login-action v3 → v4
    • docker/setup-buildx-action v3 → v4
    • docker/metadata-action v5 → v6
    • docker/build-push-action v6 → v7
  • Replace the unmaintained wangchucheng/git-repo-sync@v0.1.0 action with an equivalent inline Git mirror step.
  • Add read-only workflow permissions to the mirror workflow.
  • Leave the disabled deployment job unchanged; it will be handled separately when the new VM is ready.

Verification

  • Workflow YAML parses successfully.
  • Prettier check passes.
  • Actionlint reports no new errors; only the pre-existing warnings in the disabled deployment job remain.
  • The PR image build will verify checkout v7 and Docker action v7/v4/v6 compatibility without pushing.
  • After merge, verify the mirror workflow and prerel image publishing.

Copilot AI balanced review requested due to automatic review settings October 29, 2026 10:27

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.

🟡 Changes recommended

On tag pushes, the unconditional branch push fails from detached HEAD and exits the workflow before tags can be pushed to GitLab.

1 open issue
What changed in this PR

This PR updates the actions used by CI and image publishing and replaces the third-party repository sync action with inline Git commands.

Changes:

  • Upgrade checkout, Node setup, and Docker actions to newer major versions.
  • Replace the mirror action with explicit Git push and delete handling.
  • Restrict the mirror workflow’s GitHub token to read-only repository access, leaving the disabled deployment job unchanged.
File Description
.github/​workflows/​mirror-repo.yml Updates checkout, adds read-only permissions, and implements inline GitLab mirroring.
.github/​workflows/​ci-cd.yml Updates checkout, Node setup, and Docker action versions.

Review effort: Balanced


case "$EVENT_NAME" in
push)
git push -f --all target
@dianagudu
dianagudu merged commit 18179de into prerel Oct 29, 2026
5 checks passed
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.

2 participants