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 14:11:51 UTC

[camel-k-runtime] branch actions-sec created (now 6970a23)

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

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


      at 6970a23  Github actions: Do not persist credentials for Checkout action

This branch includes the following new commits:

     new 6970a23  Github actions: Do not persist credentials for Checkout action

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-k-runtime] 01/01: Github actions: Do not persist credentials for Checkout action

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 6970a23f40734e77f55820fd8a3957d5afbc2e99
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: