|
|
@ -17,7 +17,7 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: github.actor != 'dependabot[bot]'
|
|
|
|
if: github.actor != 'dependabot[bot]'
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
|
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
|
|
|
- name: Run FOSSA scan and upload build data
|
|
|
|
- name: Run FOSSA scan and upload build data
|
|
|
|
uses: fossa-contrib/fossa-action@cdc5065bcdee31a32e47d4585df72d66e8e941c2 # v3.0.0
|
|
|
|
uses: fossa-contrib/fossa-action@cdc5065bcdee31a32e47d4585df72d66e8e941c2 # v3.0.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -31,7 +31,7 @@ jobs:
|
|
|
|
security-events: write
|
|
|
|
security-events: write
|
|
|
|
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && github.actor != 'dependabot[bot]'
|
|
|
|
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && github.actor != 'dependabot[bot]'
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
|
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
|
|
|
- name: Setup Kustomize
|
|
|
|
- name: Setup Kustomize
|
|
|
|
uses: fluxcd/pkg/actions/kustomize@main
|
|
|
|
uses: fluxcd/pkg/actions/kustomize@main
|
|
|
|
- name: Setup Go
|
|
|
|
- name: Setup Go
|
|
|
@ -54,7 +54,7 @@ jobs:
|
|
|
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
|
|
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
|
|
|
- name: Upload result to GitHub Code Scanning
|
|
|
|
- name: Upload result to GitHub Code Scanning
|
|
|
|
continue-on-error: true
|
|
|
|
continue-on-error: true
|
|
|
|
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
|
|
|
|
uses: github/codeql-action/upload-sarif@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
sarif_file: snyk.sarif
|
|
|
|
sarif_file: snyk.sarif
|
|
|
|
|
|
|
|
|
|
|
@ -65,7 +65,7 @@ jobs:
|
|
|
|
if: github.actor != 'dependabot[bot]'
|
|
|
|
if: github.actor != 'dependabot[bot]'
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
|
|
|
|
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
|
|
|
- name: Setup Go
|
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
|
|
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -74,13 +74,13 @@ jobs:
|
|
|
|
**/go.sum
|
|
|
|
**/go.sum
|
|
|
|
**/go.mod
|
|
|
|
**/go.mod
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
|
|
|
|
uses: github/codeql-action/init@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
languages: go
|
|
|
|
# xref: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
|
|
# xref: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
|
|
# xref: https://codeql.github.com/codeql-query-help/go/
|
|
|
|
# xref: https://codeql.github.com/codeql-query-help/go/
|
|
|
|
queries: security-and-quality
|
|
|
|
queries: security-and-quality
|
|
|
|
- name: Autobuild
|
|
|
|
- name: Autobuild
|
|
|
|
uses: github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
|
|
|
|
uses: github/codeql-action/autobuild@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
|
|
|
|
uses: github/codeql-action/analyze@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
|
|
|
|