ci: make git credentials non-persistent
With this setting enabled, Git credentials are not kept after checkout. Credentials are not necessary after the checkout step since we do not do any further manual push/pull operations. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
b74397db13
commit
6539ac752e
3 changed files with 4 additions and 0 deletions
1
.github/workflows/clang.yaml
vendored
1
.github/workflows/clang.yaml
vendored
|
@ -39,6 +39,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Environment Setup
|
- name: Environment Setup
|
||||||
run: |
|
run: |
|
||||||
|
|
1
.github/workflows/manifest.yml
vendored
1
.github/workflows/manifest.yml
vendored
|
@ -15,6 +15,7 @@ jobs:
|
||||||
path: zephyrproject/zephyr
|
path: zephyrproject/zephyr
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Manifest
|
- name: Manifest
|
||||||
uses: zephyrproject-rtos/action-manifest@2f1ad2908599d4fe747f886f9d733dd7eebae4ef
|
uses: zephyrproject-rtos/action-manifest@2f1ad2908599d4fe747f886f9d733dd7eebae4ef
|
||||||
|
|
2
.github/workflows/twister.yaml
vendored
2
.github/workflows/twister.yaml
vendored
|
@ -54,6 +54,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Environment Setup
|
- name: Environment Setup
|
||||||
if: github.event_name == 'pull_request_target'
|
if: github.event_name == 'pull_request_target'
|
||||||
|
@ -137,6 +138,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Environment Setup
|
- name: Environment Setup
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue