aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/sanitizer.yml
blob: 89fd51e3b5e30a4d147864a28afdaa7c8487c598 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
name: "Dirname Checker"
on: [pull_request]
jobs:
  disallowed-root-checker:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
          ref: ${{ github.event.pull_request.head.sha }}
      - run: |
          if ! bash .github/ci/run_sanitizer.sh ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}; then
            exit 1
          fi