Skip to content

Commit

Permalink
Merge pull request #122 from nickfyson-org/nickfyson-patch-1
Browse files Browse the repository at this point in the history
Update action.yml
  • Loading branch information
nickfyson authored Dec 13, 2023
2 parents 646520a + d508ea3 commit 07459e7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 45
env:
BASE_REF: ${{ github.event.pull_request.base }}
BASE_REF: ${{ github.base_ref }}

steps:
- uses: actions/checkout@v4
Expand All @@ -136,10 +136,15 @@ jobs:
exit 1
fi
echo "node_version=${NODE_VERSION}" >> $GITHUB_OUTPUT
echo ""
echo "github.head_ref: ${{ github.head_ref }}"
echo "github.ref: ${{ github.ref }}"
echo "github.ref_name: ${{ github.ref_name }}"
echo "github.base_ref: ${{ env.BASE_REF }}"
- id: checkout-base
name: check out base ref for backport check
if: ${{ startsWith(github.ref_name, 'backport-v') }}
if: ${{ startsWith(github.head_ref, 'nickfyson-') }}
uses: actions/checkout@v4
with:
ref: ${{ env.BASE_REF }}
Expand Down

0 comments on commit 07459e7

Please sign in to comment.