From 4caa73b08c57c914cee184a88a04d96d49f11b55 Mon Sep 17 00:00:00 2001 From: Jost Berthold Date: Wed, 13 Nov 2024 11:35:34 +1100 Subject: [PATCH] no token at checkout (no need, and not supplied by the CI gods) --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df595a7..4fa71b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,8 @@ jobs: - name: 'Check out code' uses: actions/checkout@v4 with: - token: ${{ secrets.JENKINS_GITHUB_PAT }} + # Check out pull request HEAD instead of merge commit. + ref: ${{ github.event.pull_request.head.sha }} submodules: recursive - name: "Set up nightly Rust" # https://github.com/rust-lang/rustup/issues/3409