Skip to content

Commit 8ffec14

Browse files
committed
Remove token after checkout
1 parent 603aa63 commit 8ffec14

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.github/workflows/CI.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
uses: actions/checkout@v4
4040
with:
4141
submodules: true
42+
persist-credentials: false
4243
- name: Check License
4344
uses: apache/skywalking-eyes/header@501a28d2fb4a9b962661987e50cf0219631b32ff
4445
- name: Set up Python
@@ -61,6 +62,7 @@ jobs:
6162
uses: actions/checkout@v4
6263
with:
6364
submodules: true
65+
persist-credentials: false
6466
- name: Set up Python
6567
uses: actions/setup-python@v5
6668
with:
@@ -82,6 +84,8 @@ jobs:
8284
agent: ${{ steps.filter.outputs.agent }}
8385
steps:
8486
- uses: actions/checkout@v4 # required for push event
87+
with:
88+
persist-credentials: false
8589
- name: Check for file changes
8690
uses: getsentry/[email protected]
8791
id: filter
@@ -116,6 +120,8 @@ jobs:
116120
runs-on: ubuntu-latest
117121
steps:
118122
- uses: actions/checkout@v4
123+
with:
124+
persist-credentials: false
119125
- id: set-matrix
120126
run: |
121127
sudo apt-get install jq
@@ -142,6 +148,7 @@ jobs:
142148
uses: actions/checkout@v4
143149
with:
144150
submodules: true
151+
persist-credentials: false
145152
- name: Build SkyWalking Python agent base plugin image
146153
run: |
147154
docker build --build-arg BASE_PYTHON_IMAGE -t apache/skywalking-python-agent:latest-plugin --no-cache . -f tests/plugin/Dockerfile.plugin
@@ -175,6 +182,7 @@ jobs:
175182
uses: actions/checkout@v4
176183
with:
177184
submodules: true
185+
persist-credentials: false
178186
- name: Install docker-compose
179187
shell: bash
180188
if: runner.os != 'Windows'
@@ -221,6 +229,7 @@ jobs:
221229
uses: actions/checkout@v4
222230
with:
223231
submodules: true
232+
persist-credentials: false
224233
- name: Build SkyWalking Python agent base e2e image
225234
run: |
226235
docker build --build-arg BASE_PYTHON_IMAGE -t apache/skywalking-python-agent:latest-e2e --no-cache . -f tests/e2e/base/Dockerfile.e2e
@@ -273,6 +282,7 @@ jobs:
273282
uses: actions/checkout@v4
274283
with:
275284
submodules: true
285+
persist-credentials: false
276286
- name: Pull SkyWalking Python agent base image
277287
uses: actions/download-artifact@v4
278288
with:

.github/workflows/dead-link-checker.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking-python') || (github.event_name != 'schedule')
3737
steps:
3838
- uses: actions/checkout@v4
39+
with:
40+
persist-credentials: false
3941
- uses: gaurav-nelson/github-action-markdown-link-check@v1
4042
with:
4143
use-quiet-mode: 'no'

.github/workflows/publish-docker.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
- uses: actions/checkout@v4
3838
with:
3939
submodules: true
40+
persist-credentials: false
4041
- name: Set environment variables
4142
run: |
4243
if [[ ${{ github.event_name }} == "release" ]]; then

0 commit comments

Comments
 (0)