Skip to content

Commit

Permalink
Merge pull request #3860 from DataDog/cbeauchesne/persist-credentials
Browse files Browse the repository at this point in the history
ci: disable persist-credentials for actions/checkout in system-tests
  • Loading branch information
TonyCTHsu authored Aug 22, 2024
2 parents 3da4cfd + 03b140e commit 8aee247
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
with:
repository: 'DataDog/system-tests'
ref: ${{ env.ST_REF }}
persist-credentials: false
- name: Pull released image
run: |
if docker pull ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:latest; then
Expand Down Expand Up @@ -106,12 +107,14 @@ jobs:
with:
repository: 'DataDog/system-tests'
ref: ${{ env.ST_REF }}
persist-credentials: false
- name: Checkout ${{ matrix.library.repository }}
uses: actions/checkout@v4
with:
repository: '${{ matrix.library.repository }}'
path: 'binaries/${{ matrix.library.path }}'
fetch-depth: 2
persist-credentials: false
- name: Pull released image
run: |
if docker pull ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:latest; then
Expand Down Expand Up @@ -252,6 +255,7 @@ jobs:
with:
repository: 'DataDog/system-tests'
ref: ${{ env.ST_REF }}
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 @@ -317,6 +321,7 @@ jobs:
with:
repository: 'DataDog/system-tests'
ref: ${{ env.ST_REF }}
persist-credentials: false
- name: Retrieve logs
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 8aee247

Please sign in to comment.