Skip to content

Commit 598112e

Browse files
committedSep 23, 2023
ci: don't persist Git credentials
References: actions/checkout#485
1 parent e0a0bc1 commit 598112e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
steps:
4646
- name: Checkout
4747
uses: actions/checkout@v4
48+
with:
49+
persist-credentials: false
4850

4951
- name: Install Rust
5052
uses: dtolnay/rust-toolchain@master

‎.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
steps:
4040
- name: Checkout
4141
uses: actions/checkout@v4
42+
with:
43+
persist-credentials: false
4244

4345
- name: Prepare environment
4446
shell: bash

0 commit comments

Comments
 (0)
Failed to load comments.