diff options
author | XhmikosR <xhmikosr@gmail.com> | 2022-11-12 10:27:02 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2022-11-12 10:27:02 +0300 |
commit | 26a41c00d3af4afd25a86ea4803a10239bed1b3a (patch) | |
tree | c8afe011f9ef4882eb9b74dc917d3a5477cbd281 | |
parent | e664cf5411eeb9d12ec517cd6b32316b021c3c62 (diff) |
CI: remove git credentials after checkout
-rw-r--r-- | .github/workflows/codeql.yml | 2 | ||||
-rw-r--r-- | .github/workflows/deploy.yml | 7 | ||||
-rw-r--r-- | .github/workflows/test.yml | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 21f004802..225e2ef20 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -23,7 +23,7 @@ jobs: security-events: write steps: - - name: Checkout repository + - name: Clone repository uses: actions/checkout@v3 with: persist-credentials: false diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e8a396e4e..cfd2d5abc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,6 +17,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Node.js uses: actions/setup-node@v3 @@ -45,7 +47,10 @@ jobs: needs: deploy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Clone repository + uses: actions/checkout@v3 + with: + persist-credentials: false - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 29cad2ceb..ca304bb64 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Node.js uses: actions/setup-node@v3 |