diff --git a/.github/workflows/pr-goreleaser.yaml b/.github/workflows/pr-goreleaser.yaml new file mode 100644 index 00000000..51658e2d --- /dev/null +++ b/.github/workflows/pr-goreleaser.yaml @@ -0,0 +1,27 @@ +name: pr-gorelaser + +permissions: {} + +on: + pull_request: + branches: + - 'master' + +jobs: + validate-config: + runs-on: ubuntu-latest + steps: + - name: Harden Runner + uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 + with: + egress-policy: audit + - name: Checkout + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - name: Validate .goreleaser.yaml + uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 + with: + version: latest + args: check + env: + RUNNER_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.DOODLE_OSS_BOT}} diff --git a/.github/workflows/report-on-vulnerabilities.yaml b/.github/workflows/report-on-vulnerabilities.yaml index 9cdc6b93..71a97af3 100644 --- a/.github/workflows/report-on-vulnerabilities.yaml +++ b/.github/workflows/report-on-vulnerabilities.yaml @@ -23,7 +23,7 @@ jobs: with: image-ref: ghcr.io/doodlescheduling/keycloak-controller:latest format: json - scanners: license,vuln,secret + scanners: vuln,secret ignore-unfixed: false severity: HIGH,CRITICAL output: scan.json