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/19 09:59:47 UTC
(camel) 01/01: Github Actions Security Best practices: Pin Actions to Full lenght Commit SHA - Generate SBOM workflow
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.git
commit a27df5533a87c03794d362722c21700cb98ec8a7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 19 11:59:40 2024 +0200
Github Actions Security Best practices: Pin Actions to Full lenght Commit SHA - Generate SBOM workflow
---
.github/workflows/generate-sbom-main.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/generate-sbom-main.yml b/.github/workflows/generate-sbom-main.yml
index 634e36056a5..70fbcf9ef27 100644
--- a/.github/workflows/generate-sbom-main.yml
+++ b/.github/workflows/generate-sbom-main.yml
@@ -36,13 +36,13 @@ jobs:
matrix:
java: [ '17' ]
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- id: install-mvnd
uses: ./.github/actions/install-mvnd
- 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 }}
@@ -50,13 +50,13 @@ jobs:
- name: mvn build and sbom generation
run: ./mvnw -B -l build.log -Psbom -Dquickly verify
- name: archive logs
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if: always()
with:
name: build.log
path: build.log
- 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 }}