Skip to content

Commit

Permalink
#20 - Do Not Persist Credentials - Workflows
Browse files Browse the repository at this point in the history
- Disabled saving of credential in all checkout actions.
  • Loading branch information
miroslavpojer committed Nov 8, 2024
1 parent 0acde4f commit b35bd5b
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 b35bd5b

Please sign in to comment.