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

acosentino pushed a commit to branch pin-actions-java-tests
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 031b93d54ade890b26a9738ed930c6e401bc9b52
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Aug 20 14:23:45 2024 +0200

    Update java-tests.yaml
---
 .github/workflows/java-tests.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/java-tests.yaml 
b/.github/workflows/java-tests.yaml
index 46d95da5..8a5f4be8 100644
--- a/.github/workflows/java-tests.yaml
+++ b/.github/workflows/java-tests.yaml
@@ -31,15 +31,18 @@ concurrency:
   group: ${{ github.ref }}-${{ github.workflow }}
   cancel-in-progress: true
 
+permissions:  
+  contents: read
+
 jobs:
   build:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 
v4.1.7
         with:
           persist-credentials: false
       - name: Set up JDK
-        uses: actions/setup-java@v4
+        uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # 
v4.2.2
         with:
           distribution: 'temurin'
           java-version: 17

Reply via email to