From 0240f2c2ccf23189c9736924486ef76498858653 Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Thu, 26 Sep 2024 10:53:36 +0100 Subject: [PATCH] CI: Update checkout settings Change-type: patch --- .github/workflows/deploy-to-cloudflare-pages.yml | 7 +++---- .github/workflows/flowzone.yml | 2 ++ .github/workflows/link-checker.yml | 2 ++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-to-cloudflare-pages.yml b/.github/workflows/deploy-to-cloudflare-pages.yml index c7ed02610f..8d1760d5a9 100644 --- a/.github/workflows/deploy-to-cloudflare-pages.yml +++ b/.github/workflows/deploy-to-cloudflare-pages.yml @@ -18,8 +18,10 @@ jobs: # Checks out a copy of your repository on the ubuntu-latest machine - name: Checkout code uses: actions/checkout@v4 + with: + persist-credentials: false - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18 cache: "npm" @@ -35,6 +37,3 @@ jobs: wranglerVersion: '3.5.1' # latest - https://www.npmjs.com/package/wrangler command: --version postCommands: npx wrangler pages deploy --branch $CF_BRANCH --project-name=$cloudflare_website build/ | tee -a $GITHUB_STEP_SUMMARY - - - diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml index e439135d90..7a1236d2ae 100644 --- a/.github/workflows/flowzone.yml +++ b/.github/workflows/flowzone.yml @@ -34,6 +34,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + persist-credentials: false # fetch external files && building the docs - name: Build the docs diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index 973259343f..9f13912a4e 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -14,6 +14,8 @@ jobs: # Checks out a copy of your repository on the ubuntu-latest machine - name: Checkout code uses: actions/checkout@v4 + with: + persist-credentials: false # fetch external files && Building the docs - name: Build the docs