fix: upgrade crypto to 0.31.0 to resolve security vulnerability Cr 26731 #523
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR check | |
on: | |
pull_request: | |
branches: | |
- "release-*" | |
jobs: | |
test-default-branch: | |
name: base branch is a default branch | |
runs-on: ubuntu-latest | |
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 | |
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 }}") |