Skip to content

Bump lfreleng-actions/github2gerrit-action from 1.2.1 to 1.2.2 #55

Bump lfreleng-actions/github2gerrit-action from 1.2.1 to 1.2.2

Bump lfreleng-actions/github2gerrit-action from 1.2.1 to 1.2.2 #55

---
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2026 The Linux Foundation
name: GitHub to Gerrit Sync
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request_target:
types: [opened, reopened, edited, synchronize, closed]
branches:
- master
- main
concurrency:
# yamllint disable-line rule:line-length
group: ${{ github.workflow }}-${{ github.run_id }}
cancel-in-progress: true
jobs:
github2gerrit:
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
pull-requests: write
steps:
- name: Convert GitHub PR to Gerrit Change
# yamllint disable-line rule:line-length
uses: lfreleng-actions/github2gerrit-action@529a718cb42485fac43c26a1c984a5f2706f66e2 # v1.2.2
with:
GERRIT_SSH_PRIVKEY_G2G: ${{ secrets.GERRIT_SSH_PRIVKEY_G2G }}
GERRIT_KNOWN_HOSTS: ${{ vars.GERRIT_KNOWN_HOSTS }}
GERRIT_SSH_USER_G2G: ${{ vars.GERRIT_SSH_USER_G2G }}
GERRIT_SSH_USER_G2G_EMAIL: ${{ vars.GERRIT_SSH_USER_G2G_EMAIL }}
ORGANIZATION: "opendaylight"