Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Use of ORGANIZATION variable in github2gerrit.yaml #17

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/github2gerrit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ on:
required: true
type: string
ORGANIZATION:
description: "Orginazation name ex: OpendayLight.org"
required: true
description: "Organization name, e.g. opendaylight"
required: false
type: string
default: ${{ github.repository_owner }}
REVIEWERS_EMAIL:
description: "Committers email list (comma separated) to notify on code-reviews"
required: false
Expand Down Expand Up @@ -264,7 +265,7 @@ jobs:
# shellcheck disable=SC2016
gh api graphql --paginate \
-F number=${{ env.PR_NUMBER }} \
-F owner=${{ vars.ORGANIZATION }} \
-F owner=${{ inputs.ORGANIZATION }} \
-F name=${{ env.PROJECT_REPO_GITHUB }} \
-f query='query($name: String!, $owner: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
Expand Down