From c443a5fa7210f2dcd12e2b0825e70fda16592d4e Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 17 Jan 2024 14:25:32 -0500 Subject: [PATCH] Update github actions to newer versions As per [0], we need to move to something newer than checkout@v2 in order to avoid unsafe node versions. This moves from checkout@v2 to checkout@v4. [0] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-versioned-actions Signed-off-by: Peter Jones --- .github/workflows/pullrequest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 7cd5abc..4d80473 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -76,7 +76,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # otherwise we are testing target branch instead of the PR branch (see pull_request_target trigger) ref: ${{ github.event.pull_request.head.sha }} @@ -150,7 +150,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # otherwise we are testing target branch instead of the PR branch (see pull_request_target trigger) ref: ${{ github.event.pull_request.head.sha }}