Skip to content

Commit

Permalink
#65 - Do Not Persist Credentials - Workflows (#66)
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 49c62ed commit 19187cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,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 @@ -85,6 +86,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- uses: actions/[email protected]
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/static_analysis_and_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Set up Python
uses: actions/[email protected]
Expand Down Expand Up @@ -44,6 +46,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false

- name: Set up Python
uses: actions/[email protected]
Expand All @@ -68,6 +72,7 @@ jobs:
uses: actions/[email protected]
with:
fetch-depth: 0
persist-credentials: false

- name: Set up Python
uses: actions/[email protected]
Expand Down

0 comments on commit 19187cf

Please sign in to comment.