diff --git a/.github/workflows/default-branch-check.yaml b/.github/workflows/default-branch-check.yaml index 5e4ac0a54a..1d2aee06b8 100644 --- a/.github/workflows/default-branch-check.yaml +++ b/.github/workflows/default-branch-check.yaml @@ -12,7 +12,7 @@ jobs: steps: - name: fail if base branch is not default branch if: ${{ github.event.pull_request.base.ref != github.event.repository.default_branch }} - uses: actions/github-script@v3 + uses: actions/github-script@v6.3.0 with: script: | 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 }}")