Skip to content

Commit

Permalink
Merge pull request #90 from traveltime-dev/security-fix
Browse files Browse the repository at this point in the history
CI: disable persist-credentials for actions/checkout
  • Loading branch information
arnasbr authored Oct 25, 2024
2 parents 51ca014 + b668b55 commit 5307a9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy_to_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup python
uses: actions/setup-python@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:

steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Copy .env
run: cp .env.example .env
Expand Down

0 comments on commit 5307a9e

Please sign in to comment.