You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/04/07 12:53:40 UTC

[flink] 19/21: don't persist git credentials

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch exp_github_actions
in repository https://gitbox.apache.org/repos/asf/flink.git

commit a48590b366123f64f4532579f544fe71caf9c7bb
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Thu Apr 7 09:19:08 2022 +0200

    don't persist git credentials
---
 .github/workflows/flink-ci-template.yml                | 7 +++++++
 .github/workflows/hadoop-2.8.3-scala-2.12-workflow.yml | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/.github/workflows/flink-ci-template.yml b/.github/workflows/flink-ci-template.yml
index dcaa6bcae1f..7db67b692d2 100644
--- a/.github/workflows/flink-ci-template.yml
+++ b/.github/workflows/flink-ci-template.yml
@@ -63,6 +63,8 @@ jobs:
 
     - name: "Flink Checkout"
       uses: actions/checkout@v2
+      with:
+        persist-credentials: false
     - name: "Codestyle"
       run: |
         ${{ inputs.environment }} ./tools/ci/validate.sh "checkstyle:check spotless:check -T2" || exit $?
@@ -96,6 +98,7 @@ jobs:
       - name: "Flink Checkout"
         uses: actions/checkout@v2
         with:
+          persist-credentials: false
           path: ${{ env.CHECKOUT_MOUNT_DIR }}
 
       - name: "Copy"
@@ -137,6 +140,7 @@ jobs:
       - name: "Flink Checkout"
         uses: actions/checkout@v2
         with:
+          persist-credentials: false
           path: ${{ env.CHECKOUT_MOUNT_DIR }}
 
       - name: "Copy"
@@ -198,6 +202,7 @@ jobs:
       - name: "Flink Checkout"
         uses: actions/checkout@v2
         with:
+          persist-credentials: false
           path: ${{ env.CHECKOUT_MOUNT_DIR }}
 
       - name: "Copy"
@@ -280,6 +285,7 @@ jobs:
       - name: "Flink Checkout"
         uses: actions/checkout@v2
         with:
+          persist-credentials: false
           path: ${{ env.CHECKOUT_MOUNT_DIR }}
 
       # Skip e2e test execution if this is a documentation only pull request (master / release builds will still be checked regularly)
@@ -322,6 +328,7 @@ jobs:
       - name: "Flink Checkout"
         uses: actions/checkout@v2
         with:
+          persist-credentials: false
           path: ${{ env.CHECKOUT_MOUNT_DIR }}
 
       - name: "Copy"
diff --git a/.github/workflows/hadoop-2.8.3-scala-2.12-workflow.yml b/.github/workflows/hadoop-2.8.3-scala-2.12-workflow.yml
index a118376730f..071c95181bc 100644
--- a/.github/workflows/hadoop-2.8.3-scala-2.12-workflow.yml
+++ b/.github/workflows/hadoop-2.8.3-scala-2.12-workflow.yml
@@ -36,6 +36,8 @@ jobs:
     steps:
       - name: "Checks out Flink"
         uses: actions/checkout@v2
+        with:
+          persist-credentials: false
 
       - name: "Check if PR contains docs change"
         run: |