diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml index 9545262d..45f938b0 100644 --- a/.github/workflows/node.yaml +++ b/.github/workflows/node.yaml @@ -16,7 +16,10 @@ jobs: timeout-minutes: 15 steps: - - uses: actions/checkout@v4 + - name: Git checkout + uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js 18.x uses: actions/setup-node@v4 with: @@ -44,7 +47,10 @@ jobs: node-version: [14.x, 16.x, 18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v4 + - name: Git checkout + uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: @@ -84,8 +90,10 @@ jobs: # - validate-dependencies steps: - - uses: actions/checkout@v4 + - name: Git checkout + uses: actions/checkout@v4 with: + persist-credentials: false fetch-depth: 0 - name: Use Node.js 18.x uses: actions/setup-node@v4 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 677b2a7b..6f6bc700 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -16,7 +16,10 @@ jobs: node-version: [14.x, 16.x, 18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v4 + - name: Git checkout + uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: @@ -41,8 +44,10 @@ jobs: - test steps: - - uses: actions/checkout@v4 + - name: Git checkout + uses: actions/checkout@v4 with: + persist-credentials: false fetch-depth: 0 - name: Use Node.js 18.x uses: actions/setup-node@v4