-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b8baf9
commit 2dfc406
Showing
7 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
fossa-scan: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: fossas/[email protected] | ||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | ||
- uses: fossas/fossa-action@f61a4c0c263690f2ddb54b9822a719c25a7b608f # v1.3.1 | ||
with: | ||
api-key: ${{secrets.FOSSA_API_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
persist-credentials: false | ||
|
||
- name: "Run analysis" | ||
uses: ossf/[email protected] | ||
uses: ossf/scorecard-action@80e868c13c90f172d68d1f4501dee99e2479f7af # v2.1.3 | ||
with: | ||
results_file: results.sarif | ||
results_format: sarif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,20 +24,20 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Golang | ||
uses: actions/setup-go@v4 | ||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4 | ||
with: | ||
go-version: '1.19' | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | ||
|
||
- name: Generate CRDs | ||
run: | | ||
make generate-crds | ||
tar -czf CRDS.tar.gz -C generated-crds $(ls generated-crds) | ||
- | ||
name: Upload CRDs as artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3 | ||
with: | ||
name: CRDS | ||
path: CRDS.tar.gz | ||
|
@@ -63,7 +63,7 @@ jobs: | |
- name: Get latest release tag | ||
id: get_last_release_tag | ||
uses: actions/github-script@v6 | ||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6 | ||
with: | ||
script: | | ||
let release = await github.rest.repos.getLatestRelease({ | ||
|
@@ -78,7 +78,7 @@ jobs: | |
core.setFailed("Cannot find latest release") | ||
- name: Get release ID from the release created by release drafter | ||
uses: actions/github-script@v6 | ||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6 | ||
with: | ||
script: | | ||
let releases = await github.rest.repos.listReleases({ | ||
|
@@ -95,12 +95,12 @@ jobs: | |
core.setFailed(`Draft release not found`) | ||
- name: Download SBOM artifact | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3 | ||
with: | ||
name: sbom | ||
|
||
- name: Download CRDs artifact | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3 | ||
with: | ||
name: CRDS | ||
|
||
|
@@ -109,7 +109,7 @@ jobs: | |
|
||
- name: Upload release assets | ||
id: upload_release_assets | ||
uses: actions/github-script@v6 | ||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6 | ||
with: | ||
script: | | ||
let fs = require('fs'); | ||
|
@@ -140,7 +140,7 @@ jobs: | |
} | ||
- name: Publish release | ||
uses: actions/github-script@v6 | ||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6 | ||
with: | ||
script: | | ||
const {RELEASE_ID} = process.env | ||
|
@@ -156,7 +156,7 @@ jobs: | |
}); | ||
- name: Trigger chart update | ||
uses: peter-evans/[email protected] | ||
uses: peter-evans/repository-dispatch@26b39ed245ab8f31526069329e112ab2fb224588 # v2.1.1 | ||
with: | ||
token: ${{ secrets.WORKFLOW_PAT }} | ||
repository: "${{github.repository_owner}}/helm-charts" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,16 +21,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install cosign | ||
uses: sigstore/cosign-installer@v3 | ||
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3 | ||
|
||
- name: Install the syft command | ||
uses: kubewarden/github-actions/[email protected] | ||
uses: kubewarden/github-actions/syft-installer@00836d4962f80890a32cca1dd324d2ebafc4e29c # v3.1.5 | ||
|
||
- name: Install the crane command | ||
uses: kubewarden/github-actions/[email protected] | ||
uses: kubewarden/github-actions/crane-installer@00836d4962f80890a32cca1dd324d2ebafc4e29c # v3.1.5 | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
|
@@ -78,7 +78,7 @@ jobs: | |
- | ||
name: Upload SBOMs as artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3 | ||
with: | ||
name: sbom | ||
path: kubewarden-controller-sbom-* |