From 89711171ca4f6df5032ab79ad8c5a6d02dc25195 Mon Sep 17 00:00:00 2001 From: miroslavpojer Date: Fri, 8 Nov 2024 14:58:57 +0100 Subject: [PATCH] #6 - Do Not Persist Credentials - Workflows (#7) * #6 - Do Not Persist Credentials - Workflows - Disabled saving of credential in all checkout actions. * - Uncomment 'on' segment. --- .github/workflows/build.yml | 2 ++ .github/workflows/release_draft.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b273ba5..8ce73c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false - uses: actions/setup-python@v5.1.1 with: @@ -83,3 +84,4 @@ jobs: with: name: coverage-report path: coverage_overall.xml + 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: