Skip to content

Commit

Permalink
addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoreliovlabs committed Oct 11, 2024
1 parent 8f53b4c commit 2f64677
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/rit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
github_event_pull_request_number: ${{ github.event.pull_request.number }}
github_head_ref: ${{ github.head_ref }}
github_ref_name: ${{ github.ref_name }}
github_event_pull_request_head_repo_owner_login: ${{ github.event.pull_request.head.repo.owner.login }}
github_repository_owner: ${{ github.repository_owner }}
run: |
PR_DESCRIPTION=pr-description.txt
Expand Down Expand Up @@ -97,11 +99,8 @@ jobs:
fi
# Set the Repo Owner
if [ -n "${{ github.event.pull_request.head.repo.owner.login }}" ]; then
REPO_OWNER=${{ github.event.pull_request.head.repo.owner.login }}
else
REPO_OWNER=${{ github.repository_owner }}
fi
REPO_OWNER="${github_event_pull_request_head_repo_owner_login:-$github_repository_owner}"
echo "REPO_OWNER=$REPO_OWNER" >> $GITHUB_ENV
echo "RSKJ_BRANCH=$RSKJ_BRANCH" >> $GITHUB_ENV
Expand Down

0 comments on commit 2f64677

Please sign in to comment.