ci: update cosign signing #1463
Workflow file for this run
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
name: scan | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '18 10 * * 3' | |
permissions: | |
contents: read | |
jobs: | |
scan-fossa: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run FOSSA scan and upload build data | |
uses: fossa-contrib/fossa-action@v2 | |
with: | |
# FOSSA Push-Only API Token | |
fossa-api-key: 5ee8bf422db1471e0bcf2bcb289185de | |
github-token: ${{ github.token }} | |
scan-codeql: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: go | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v2 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |