From f265a5a7260669a4fafdc29b809b68974080d778 Mon Sep 17 00:00:00 2001 From: miroslavpojer Date: Fri, 8 Nov 2024 14:40:08 +0100 Subject: [PATCH] #6 - Do Not Persist Credentials - Workflows - Disabled saving of credential in all checkout actions. --- .github/workflows/build.yml | 9 +++++---- .github/workflows/release_draft.yml | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b273ba5..754451c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -34,6 +34,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false - uses: actions/setup-python@v5.1.1 with: diff --git a/.github/workflows/release_draft.yml b/.github/workflows/release_draft.yml index 72bee14..0ba7114 100644 --- a/.github/workflows/release_draft.yml +++ b/.github/workflows/release_draft.yml @@ -88,6 +88,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false - uses: actions/setup-python@v5.1.1 with: