Skip to content

Merge pull request #533 from CycloneDX/dependabot/github_actions/gola… #1061

Merge pull request #533 from CycloneDX/dependabot/github_actions/gola…

Merge pull request #533 from CycloneDX/dependabot/github_actions/gola… #1061

name: CodeQL
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: { }
schedule:
- cron: "42 23 * * 5" # run friday night
permissions: { }
jobs:
analyze:
name: Analyze
timeout-minutes: 10
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout Repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # tag=v4.2.0
- name: Initialize CodeQL
uses: github/codeql-action/init@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # tag=v2.11.2
with:
languages: "go"
- name: Run Autobuild
uses: github/codeql-action/autobuild@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # tag=v2.11.2
- name: Perform Analysis
uses: github/codeql-action/analyze@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # tag=v2.11.2