Skip to content

Commit

Permalink
CI: remove git credentials after checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Nov 12, 2022
1 parent e664cf5 commit 26a41c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
security-events: write

steps:
- name: Checkout repository
- name: Clone repository
uses: actions/checkout@v3
with:
persist-credentials: false
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26a41c0

Please sign in to comment.