From 0e664a62878cd29d49ae27ec7b79f11e25b2201b Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Sun, 24 Mar 2024 10:28:30 +0000 Subject: [PATCH] ci: disable checkout.persist-credentials See: https://github.com/actions/checkout/issues/485 --- .github/workflows/ci.yml | 16 ++++++++++++++++ .github/workflows/docs.yml | 2 ++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e273e43ca1..a8ea6ec34a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - uses: ./.github/actions/install-deps with: node-version: ${{ env.NODE_VERSION }} @@ -32,6 +34,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - run: sudo apt-get install shellcheck - run: git ls-files '*.sh' | xargs shellcheck @@ -58,6 +62,8 @@ jobs: SKIP_MIGRATION: 1 steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - uses: ./.github/actions/install-deps with: node-version: ${{ matrix.node }} @@ -98,6 +104,8 @@ jobs: SKIP_MIGRATION: 1 steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - uses: ./.github/actions/install-deps with: node-version: ${{ env.NODE_VERSION }} @@ -135,6 +143,8 @@ jobs: ADAPTERS: ${{ matrix.adapter }} steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - uses: ./.github/actions/install-deps with: node-version: ${{ matrix.node }} @@ -172,6 +182,8 @@ jobs: ADAPTERS: ${{ matrix.adapter }} steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - uses: ./.github/actions/install-deps with: node-version: ${{ env.NODE_VERSION }} @@ -209,6 +221,8 @@ jobs: SERVER: pouchdb-server steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - uses: ./.github/actions/install-deps with: node-version: ${{ env.NODE_VERSION }} @@ -245,6 +259,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - uses: ./.github/actions/install-deps with: node-version: ${{ matrix.node }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e9ec4c1a8f..46961e9bad 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,6 +20,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + persist-credentials: false - uses: ./.github/actions/install-deps - uses: ruby/setup-ruby@v1 with: