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 2024/08/20 12:41:41 UTC
(camel-kamelets) 01/01: Github Actions Security Best practices: Pin Actions to Full lenght Commit SHA - Generate SBOM main action
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch pin-actions-generate-sbom
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 7b8c70e94b713f512d18226356363a0f77b019fe
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 20 14:41:32 2024 +0200
Github Actions Security Best practices: Pin Actions to Full lenght Commit SHA - Generate SBOM main action
---
.github/workflows/generate-sbom-main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/generate-sbom-main.yml b/.github/workflows/generate-sbom-main.yml
index e75f5f23..a5b295e7 100644
--- a/.github/workflows/generate-sbom-main.yml
+++ b/.github/workflows/generate-sbom-main.yml
@@ -35,11 +35,11 @@ jobs:
matrix:
java: [ '17' ]
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@v4
+ uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
@@ -47,7 +47,7 @@ jobs:
- name: mvn build and sbom generation
run: mvn -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -e -Psbom -DskipTests verify
- name: Create Pull Request
- uses: peter-evans/create-pull-request@v6
+ uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
base: main
token: ${{ secrets.GITHUB_TOKEN }}