Skip to content

Commit

Permalink
Merge pull request #17 from modeseven-lfit/improve-org-handling
Browse files Browse the repository at this point in the history
Fix: Use of ORGANIZATION variable in github2gerrit.yaml
  • Loading branch information
tykeal authored Oct 16, 2024
2 parents 6c107ca + 89d8892 commit d9a16b0
Showing 1 changed file with 4 additions and 3 deletions.
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

0 comments on commit d9a16b0

Please sign in to comment.