Skip to content

feat: revisions info reporting with multi-sourced apps support #652

feat: revisions info reporting with multi-sourced apps support

feat: revisions info reporting with multi-sourced apps support #652

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@ffc2c79a5b2490bd33e0a41c1de74b877714d736 # v3.2.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 }}")