File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22# SPDX-License-Identifier: Apache-2.0
3- # Copyright 2024 The Linux Foundation <abelur@linux.com>
3+ # SPDX-FileCopyrightText: 2026 The Linux Foundation
44
5- name : call-github2gerrit-reusable-workflow
5+ name : GitHub to Gerrit Sync
66
77# yamllint disable-line rule:truthy
88on :
@@ -19,15 +19,19 @@ concurrency:
1919 cancel-in-progress : true
2020
2121jobs :
22- call-in-g2g-workflow :
22+ github2gerrit :
23+ runs-on : ubuntu-24.04
24+ timeout-minutes : 10
2325 permissions :
2426 contents : read
2527 pull-requests : write
26- uses : lfit/github2gerrit/.github/workflows/github2gerrit.yaml@main
27- with :
28- GERRIT_KNOWN_HOSTS : ${{ vars.GERRIT_KNOWN_HOSTS }}
29- GERRIT_SSH_USER_G2G : ${{ vars.GERRIT_SSH_USER_G2G }}
30- GERRIT_SSH_USER_G2G_EMAIL : ${{ vars.GERRIT_SSH_USER_G2G_EMAIL }}
31- ORGANIZATION : ${{ vars.ORGANIZATION }}
32- secrets :
33- GERRIT_SSH_PRIVKEY_G2G : ${{ secrets.GERRIT_SSH_PRIVKEY_G2G }}
28+
29+ steps :
30+ - name : Convert GitHub PR to Gerrit Change
31+ uses : lfreleng-actions/github2gerrit-action@ad00dcd39ae9aed3260f39b27e7c07b0d88c54ca # v0.0.16
32+ with :
33+ GERRIT_SSH_PRIVKEY_G2G : ${{ secrets.GERRIT_SSH_PRIVKEY_G2G }}
34+ GERRIT_KNOWN_HOSTS : ${{ vars.GERRIT_KNOWN_HOSTS }}
35+ GERRIT_SSH_USER_G2G : ${{ vars.GERRIT_SSH_USER_G2G }}
36+ GERRIT_SSH_USER_G2G_EMAIL : ${{ vars.GERRIT_SSH_USER_G2G_EMAIL }}
37+ ORGANIZATION : " opendaylight"
You can’t perform that action at this time.
0 commit comments