Skip to content

Commit

Permalink
Merge pull request #71 from traveltime-dev/actions-checkout-security-fix
Browse files Browse the repository at this point in the history
CI: disable persist-credentials for actions/checkout
  • Loading branch information
gergelytraveltime authored Oct 25, 2024
2 parents d2391c3 + 9e260fa commit 6005fb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Build the Docker image
run: |
docker build -t igeolise/traveltime-k6-benchmarks:${GITHUB_SHA::7} -t igeolise/traveltime-k6-benchmarks:latest .
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 6005fb3

Please sign in to comment.