aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-10-01 15:20:32 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-10-01 15:22:37 +0200
commit8c0b85272c9c2a4d9e07bc86c5a628c55bf1fbca (patch)
treeb444d69fa51921283e4a33d2bcbeef3d360d6dc5 /.github/workflows
parentci: add CODEOWNERS file (diff)
downloadnvim-lspconfig-8c0b85272c9c2a4d9e07bc86c5a628c55bf1fbca.tar
nvim-lspconfig-8c0b85272c9c2a4d9e07bc86c5a628c55bf1fbca.tar.gz
nvim-lspconfig-8c0b85272c9c2a4d9e07bc86c5a628c55bf1fbca.tar.bz2
nvim-lspconfig-8c0b85272c9c2a4d9e07bc86c5a628c55bf1fbca.tar.lz
nvim-lspconfig-8c0b85272c9c2a4d9e07bc86c5a628c55bf1fbca.tar.xz
nvim-lspconfig-8c0b85272c9c2a4d9e07bc86c5a628c55bf1fbca.tar.zst
nvim-lspconfig-8c0b85272c9c2a4d9e07bc86c5a628c55bf1fbca.zip
ci: run sanitizer on head branch instead of merge branch
Diffstat (limited to '.github/workflows')
-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