Skip to content

Commit

Permalink
Fix reading PR number
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Oct 27, 2024
1 parent 734ceec commit f0d8632
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
echo isCrossRepository=$isCrossRepository >> $GITHUB_OUTPUT
env:
GH_TOKEN: ${{ github.token }}
pr_number: ${{ steps.read-pr_number.outputs.pr_number }}
- name: Checkout
if: ${{ (steps.read-pr_number.outputs.pr_number != '') && (steps.isCrossRepository.isCrossRepository == 'true') }}
uses: actions/checkout@v4
Expand Down

0 comments on commit f0d8632

Please sign in to comment.