From 92be4b4856020e08dced13fe7e75b3e3e73342fe Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Thu, 11 Jul 2024 12:22:08 +1000 Subject: [PATCH 1/2] remove unneeded parameter on checkout --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef6de71ccc..5c8e6d4319 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,6 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'preview') steps: - uses: actions/checkout@v1 - with: - ref: "refs/pull/${{ github.event.number }}/merge" # THIS IS INSECURE - name: Set up Python uses: actions/setup-python@v1 with: From 78e057a90e3917f43ced20aa20488299581a3f51 Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Thu, 11 Jul 2024 12:26:07 +1000 Subject: [PATCH 2/2] bump github action major versions --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c8e6d4319..fc2017dc5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest if: contains(github.event.pull_request.labels.*.name, 'preview') steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: '3.X' - name: Install dependencies