You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/02/01 15:10:04 UTC

[camel-k-runtime] branch master updated: Github actions: Do not persist credentials for Checkout action

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


The following commit(s) were added to refs/heads/master by this push:
     new 423ec3f  Github actions: Do not persist credentials for Checkout action
423ec3f is described below

commit 423ec3f12190e4e912623b9815447f489ec3a809
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 1 15:11:21 2021 +0100

    Github actions: Do not persist credentials for Checkout action
---
 .github/workflows/ci-build-camel-master.yaml |  2 ++
 .github/workflows/ci-build.yml               | 10 ++++++++++
 2 files changed, 12 insertions(+)

diff --git a/.github/workflows/ci-build-camel-master.yaml b/.github/workflows/ci-build-camel-master.yaml
index a377d27..9278705 100644
--- a/.github/workflows/ci-build-camel-master.yaml
+++ b/.github/workflows/ci-build-camel-master.yaml
@@ -44,6 +44,8 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v2
+      with:
+        persist-credentials: false
     - name: Set up JDK 11
       uses: AdoptOpenJDK/install-jdk@v1
       with:
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 7d72edb..238b13b 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -44,6 +44,8 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v2
+      with:
+        persist-credentials: false
     - name: Set up JDK 11
       uses: AdoptOpenJDK/install-jdk@v1
       with:
@@ -66,6 +68,8 @@ jobs:
           - '14'
     steps:
       - uses: actions/checkout@v2
+        with:
+          persist-credentials: false
       - name: Set up JDK - ${{ matrix.java }}
         uses: AdoptOpenJDK/install-jdk@v1
         with:
@@ -104,6 +108,8 @@ jobs:
     steps:
       - name: Checkout
         uses: actions/checkout@v2
+        with:
+          persist-credentials: false
       - name: Set up JDK 11
         uses: AdoptOpenJDK/install-jdk@v1
         with:
@@ -136,6 +142,8 @@ jobs:
     steps:
       - name: Checkout
         uses: actions/checkout@v2
+        with:
+          persist-credentials: false
       - name: Set up JDK 11
         uses: AdoptOpenJDK/install-jdk@v1
         with:
@@ -166,6 +174,8 @@ jobs:
       NEXUS_DEPLOY_PASSWORD: ${{ secrets.NEXUS_PW }}
     steps:
     - uses: actions/checkout@v2
+      with:
+        persist-credentials: false
     - name: Set up JDK 11
       uses: AdoptOpenJDK/install-jdk@v1
       with: