Skip to content

Add impl/test-only change for non-boundary PR scenario #9

Add impl/test-only change for non-boundary PR scenario

Add impl/test-only change for non-boundary PR scenario #9

Workflow file for this run

name: PR Gate
on:
pull_request:
jobs:
pr-gate:
runs-on: ubuntu-latest
steps:
- name: Checkout demo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch base branch ref
run: |
git fetch --no-tags --prune --depth=1 origin \
+refs/heads/${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}
- name: Run PR gate
run: |
set +e
bash ./bin/pr-gate.sh "origin/${{ github.base_ref }}" 2>&1 | tee pr-gate.log
code=${PIPESTATUS[0]}
set -e
grep -E '^(pr-delta:|pr-check:)' pr-gate.log >> "$GITHUB_STEP_SUMMARY" || true
exit $code