Skip to content

Commit

Permalink
#108 - Do Not Persist Credentials - Workflows (#109)
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 a7244cb commit 655c2c0
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/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -60,6 +62,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 @@ -88,6 +92,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 655c2c0

Please sign in to comment.