Skip to content

Add support for attestations from referrers #146

Add support for attestations from referrers

Add support for attestations from referrers #146

Workflow file for this run

name: CodeQL Go
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- main
paths:
- .github/workflows/codeql-go.yaml
- go.mod
- go.sum
- "**/*.go"
push:
branches:
- main
paths:
- .github/workflows/codeql-go.yaml
- go.mod
- go.sum
- "**/*.go"
schedule:
# Some random-ish cron to help with GitHub Actions scheduling, once a week
- cron: 29 11 * * 2
permissions: {}
jobs:
analyze:
name: Analyze Go
runs-on: ubuntu-latest
permissions:
security-events: write # Required for all workflows
packages: read # Required to fetch internal or private CodeQL packs
steps:
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
with:
languages: go
build-mode: autobuild
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
with:
category: "/language:go"