Skip to content

Commit

Permalink
#6 - 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 fd37b96 commit f265a5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

name: Build and Test
on:
pull_request:
branches:
- '**'
types: [ opened, synchronize, reopened ]
# pull_request:
# branches:
# - '**'
# types: [ opened, synchronize, reopened ]

jobs:
test:
Expand All @@ -34,6 +34,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- uses: actions/[email protected]
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- uses: actions/[email protected]
with:
Expand Down

0 comments on commit f265a5a

Please sign in to comment.