Skip to content

Commit

Permalink
#20 - Do Not Persist Credentials - Workflows (#21)
Browse files Browse the repository at this point in the history
- Disabled saving of credential in all checkout actions.
  • Loading branch information
miroslavpojer authored Nov 8, 2024
1 parent 0acde4f commit b1a6ea3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0
persist-credentials: false

- name: Test 1 - default
id: test_1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Validate format of received tag
uses: actions/github-script@v7
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- uses: actions/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- name: Set up Python
uses: actions/[email protected]
with:
Expand Down

0 comments on commit b1a6ea3

Please sign in to comment.