diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe400bca4..a56ecd9b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,8 @@ jobs: steps: - name: Code checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Setup Go id: go diff --git a/.github/workflows/check-licenses.yml b/.github/workflows/check-licenses.yml index d2fff6d1d..d0db4530d 100644 --- a/.github/workflows/check-licenses.yml +++ b/.github/workflows/check-licenses.yml @@ -16,6 +16,8 @@ jobs: steps: - name: Code checkout uses: actions/checkout@master + with: + persist-credentials: false - name: Setup Go id: go diff --git a/.github/workflows/codeql-analysis-go.yml b/.github/workflows/codeql-analysis-go.yml index f969b63d2..025572eda 100644 --- a/.github/workflows/codeql-analysis-go.yml +++ b/.github/workflows/codeql-analysis-go.yml @@ -28,6 +28,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Set up Go id: go diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 52857789c..3b104f219 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -19,6 +19,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: path: __vm + persist-credentials: false - name: Checkout private code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -26,6 +27,7 @@ jobs: repository: VictoriaMetrics/vmdocs token: ${{ secrets.VM_BOT_GH_TOKEN }} path: __vm-docs + persist-credentials: true - name: Import GPG key uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dacdc50e4..1670b1c36 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,8 @@ jobs: steps: - name: Code checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Setup Go id: go @@ -70,6 +72,8 @@ jobs: steps: - name: Code checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Setup Go id: go @@ -99,6 +103,8 @@ jobs: steps: - name: Code checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Setup Go id: go diff --git a/.github/workflows/vmui.yml b/.github/workflows/vmui.yml index 981063fcc..139815e36 100644 --- a/.github/workflows/vmui.yml +++ b/.github/workflows/vmui.yml @@ -31,6 +31,8 @@ jobs: steps: - name: Code checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Restore node_modules cache id: cache-restore