Skip to content

Commit

Permalink
Disable persist-credentials when checking out system tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Aug 30, 2024
1 parent 8b88cdd commit 1f37a23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/lib-injection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
persist-credentials: false

- name: Install runner
uses: ./.github/actions/install_runner
uses: ./.github/actions/install_runner

- name: Run K8s Lib Injection Tests
run: ./run.sh K8S_LIB_INJECTION_BASIC
Expand Down Expand Up @@ -91,6 +92,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: DataDog/system-tests
persist-credentials: false
path: system-tests
- name: Overwrite auto inject script with commit SHA
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
persist-credentials: false
- name: Pull released image
run: |
if docker pull ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:latest; then
Expand Down Expand Up @@ -104,6 +105,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
persist-credentials: false
- name: Checkout ${{ matrix.library.repository }}
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -250,6 +252,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
persist-credentials: false
- name: Pull runner image
run: |
docker pull ${{ env.REPO }}/system-tests/runner:gha${{ github.run_id }}-g${{ github.sha }}
Expand Down Expand Up @@ -316,6 +319,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'DataDog/system-tests'
persist-credentials: false
- name: Retrieve logs
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 1f37a23

Please sign in to comment.