Skip to content

fix: use deploy key for changelog direct push [2.x]#114

Merged
ManukMinasyan merged 1 commit into2.xfrom
fix/changelog-direct-push-2x
Mar 18, 2026
Merged

fix: use deploy key for changelog direct push [2.x]#114
ManukMinasyan merged 1 commit into2.xfrom
fix/changelog-direct-push-2x

Conversation

@ManukMinasyan
Copy link
Collaborator

Summary

  • Switches changelog workflow from peter-evans/create-pull-request to direct push using deploy key
  • The deploy key is added to the repo's ruleset bypass list, allowing CI to push directly to protected branches
  • No more orphaned changelog PRs that need manual merge

How it works

  1. actions/checkout uses ssh-key: ${{ secrets.DEPLOY_KEY }}
  2. git-auto-commit-action pushes the CHANGELOG update directly to the release branch
  3. The deploy key bypasses the ruleset's PR requirement

Copilot AI review requested due to automatic review settings March 18, 2026 08:56
@ManukMinasyan ManukMinasyan force-pushed the fix/changelog-direct-push-2x branch from 2ec7695 to 38c1e2f Compare March 18, 2026 08:57
@ManukMinasyan ManukMinasyan merged commit 7e7db25 into 2.x Mar 18, 2026
1 of 2 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions workflow that backports release changelog updates onto the appropriate maintenance branch (e.g., 2.x) by adjusting how the repo is checked out and how the changelog commit is labeled.

Changes:

  • Adds an SSH deploy key to the actions/checkout step.
  • Updates the auto-commit message to include the release tag name.

uses: actions/checkout@v6
with:
ref: ${{ steps.branch.outputs.name }}
ssh-key: ${{ secrets.DEPLOY_KEY }}
@ManukMinasyan ManukMinasyan deleted the fix/changelog-direct-push-2x branch March 18, 2026 09:45
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