Skip to content

Commit 59c9442

Browse files
committed
fix: pin default branch check
Signed-off-by: Noam Gal <[email protected]>
1 parent f4186a6 commit 59c9442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/default-branch-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: fail if base branch is not default branch
1414
if: ${{ github.event.pull_request.base.ref != github.event.repository.default_branch }}
15-
uses: actions/github-script@v3
15+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
1616
with:
1717
script: |
1818
core.setFailed("Base branch of the PR - ${{ github.event.pull_request.base.ref }} is not a default branch. Please reopen your PR to ${{ github.event.repository.default_branch }}")

0 commit comments

Comments
 (0)