Chore: Bump lfreleng-actions/github2gerrit-action from 0.1.22 to 1.0.2 37/15337/1
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Mon, 8 Dec 2025 20:20:03 +0000 (20:20 +0000)
committeroran.gh2gerrit <releng+oran-gh2gerrit@linuxfoundation.org>
Mon, 8 Dec 2025 20:20:10 +0000 (20:20 +0000)
Bumps lfreleng-actions/github2gerrit-action from 0.1.22 to 1.0.2.
## Release notes

Sourced from lfreleng-actions/github2gerrit-action's releases.

v1.0.2
Bug Fixes

Fix: Environment setup/updates to fix build-on-demand @​ModeSevenIndustrialSolutions (#56)

Maintenance

Chore: Bump actions/checkout from 5.0.1 to 6.0.0 @dependabot[bot] (#48)
Chore: Bump astral-sh/setup-uv from 7.1.3 to 7.1.4 @dependabot[bot] (#49)
Chore: Bump lfreleng-actions/python-build-action from 0.1.21 to 0.1.22 @dependabot[bot] (#50)
Chore: Bump lfreleng-actions/python-test-action from 0.1.12 to 1.0.0 @dependabot[bot] (#53)
Chore: Bump actions/setup-python from 6.0.0 to 6.1.0 @dependabot[bot] (#54)
Chore: Bump anchore/scan-action from 7.2.0 to 7.2.1 @dependabot[bot] (#55)
Chore: Bump lfreleng-actions/draft-release-promote-action @dependabot[bot] (#52)

Code Quality

CI: Checkout now (optionally) handled in PyP publishing step @​ModeSevenIndustrialSolutions (#57)

Links

Submit bugs/feature requests

v1.0.1
Maintenance

Chore: Bump lfit/releng-reusable-workflows/.github/workflows/reuse-verify-github-actions.yaml @dependabot[bot] (#47)

Links

Submit bugs/feature requests

v1.0.0
Breaking Change

Feat!: Enhance pull request close/reconciliation handling @​ModeSevenIndustrialSolutions (#41)

New Features

Feat!: Enhance pull request close/reconciliation handling @​ModeSevenIndustrialSolutions (#41)

Maintenance

Chore: pre-commit autoupdate @pre-commit-ci[bot] (#42)
Chore: Bump lfreleng-actions/python-build-action from 0.1.20 to 0.1.21 @dependabot[bot] (#44)
Chore: Bump anchore/scan-action from 7.1.0 to 7.2.0 @dependabot[bot] (#45)
Chore: Bump astral-sh/setup-uv from 7.1.2 to 7.1.3 @dependabot[bot] (#43)
Chore: Bump actions/checkout from 5.0.0 to 5.0.1 @dependabot[bot] (#46)

Links

Submit bugs/feature requests

... (truncated)

## Changelog

Sourced from lfreleng-actions/github2gerrit-action's changelog.

Release Notes - v0.2.0
Overview
Version 0.2.0 introduces important behavioral changes and improvements to the
GitHub2Gerrit action. This release focuses on making the default behavior more
aligned with common use cases and improving the handling of push events.
Breaking Changes
⚠️ PRESERVE_GITHUB_PRS Default Changed from false to true
Impact: HIGH - This is a breaking change that affects default workflow behavior
Previous Behavior (v0.1.x):

Default: PRESERVE_GITHUB_PRS=&quot;false&quot;
GitHub pull requests closed automatically when the action pushed them to Gerrit
Users had to explicitly set PRESERVE_GITHUB_PRS=&quot;true&quot; to keep PRs open

New Behavior (v0.2.0):

Default: PRESERVE_GITHUB_PRS=&quot;true&quot;
GitHub pull requests now remain open by default when the action pushes them to Gerrit
Users must explicitly set PRESERVE_GITHUB_PRS=&quot;false&quot; to close PRs after submission

Rationale:
We changed the default for these reasons:

Common Use Case: Most projects using this action want to maintain GitHub
PRs as a reference point even after they submit changes to Gerrit
Safer Default: Preserving PRs is a non-destructive operation, making it a safer default behavior
Alignment with Documentation: The README already recommended

PRESERVE_GITHUB_PRS=true as the typical configuration
Two-Way Workflow: The new CLOSE_MERGED_PRS feature (default: true)
closes PRs automatically when maintainers merge Gerrit changes, offering a
complete bidirectional workflow

Migration Guide:
If your workflow relied on the previous default behavior of closing PRs after submission:
# Add this to your workflow to maintain v0.1.x behavior
- uses: lfit/github2gerrit-action@v0.2.0
 with:
&lt;/tr&gt;&lt;/table&gt;

... (truncated)

## Commits

cf7b647 Merge pull request #57 from modeseven-lfreleng-actions/update-workflows
b4f9921 CI: Checkout now (optionally) handled in PyP publishing step
1881fa4 Merge pull request #56 from modeseven-lfreleng-actions/update-action
5c200b9 Fix: Environment setup/updates to fix build-on-demand
036af59 Merge pull request #52 from lfreleng-actions/dependabot/github_actions/lfrele
04d5a82 Merge pull request #55 from lfreleng-actions/dependabot/github_actions/anchor
0441d78 Merge pull request #54 from lfreleng-actions/dependabot/github_actions/action
891c70b Merge pull request #53 from lfreleng-actions/dependabot/github_actions/lfrele
723d4b2 Chore: Bump anchore/scan-action from 7.2.0 to 7.2.1
7d41489 Chore: Bump actions/setup-python from 6.0.0 to 6.1.0
Additional commits viewable in compare view

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Issue-ID: CIMAN-33
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: oran.gh2gerrit <releng+oran-gh2gerrit@linuxfoundation.org>
Change-Id: I2384731dfe96f465959e465e886f91e8bca54a9e
GitHub-PR: https://github.com/o-ran-sc/it-dep/pull/23
GitHub-Hash: f5d40cce752ede97

.github/workflows/github2gerrit.yaml

index b58b72d..33338cf 100644 (file)
@@ -55,7 +55,7 @@ jobs:
 
       - name: 'Run GitHub2Gerrit Action'
         # yamllint disable-line rule:line-length
-        uses: lfreleng-actions/github2gerrit-action@260cddcd3f96af3e46a84e46fd6c10d6574b45d7  # v0.1.22
+        uses: lfreleng-actions/github2gerrit-action@cf7b6472cdbe26400ee2cda48c0c68d43c5244a3  # v1.0.2
         with:
           USE_PR_AS_COMMIT: true
           ALLOW_DUPLICATES: ${{ inputs.allow_duplicates }}