Fix: Set the Gerrit branch as GITHUB_BASE_REF #61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# SPDX-License-Identifier: Apache-2.0 | |
# Copyright 2024 The Linux Foundation <abelur@linux.com> | |
# Calls the github2gerrit reusable workflow | |
name: call-github2gerrit-reusable-workflow | |
# yamllint disable-line rule:truthy | |
on: | |
workflow_dispatch: | |
pull_request_target: | |
types: [opened, reopened, edited, synchronize] | |
branches: | |
- master | |
- main | |
concurrency: | |
# yamllint disable-line rule:line-length | |
group: ${{ github.workflow }}-${{ github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
call-in-g2g-workflow: | |
if: false | |
permissions: | |
contents: read | |
pull-requests: write | |
uses: lfit/github2gerrit/.github/workflows/github2gerrit.yaml@main | |
with: | |
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: ${{ vars.ORGANIZATION }} | |
secrets: | |
GERRIT_SSH_PRIVKEY_G2G: ${{ secrets.GERRIT_SSH_PRIVKEY_G2G }} |