aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/sanitizer.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/sanitizer.yml')
-rw-r--r--.github/workflows/sanitizer.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/sanitizer.yml b/.github/workflows/sanitizer.yml
index 03d9f520..89fd51e3 100644
--- a/.github/workflows/sanitizer.yml
+++ b/.github/workflows/sanitizer.yml
@@ -3,12 +3,11 @@ on: [pull_request]
jobs:
disallowed-root-checker:
runs-on: ubuntu-latest
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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