Skip to content

Merge pull request #1443 from ko-build/dependabot/github_actions/gith… #2186

Merge pull request #1443 from ko-build/dependabot/github_actions/gith…

Merge pull request #1443 from ko-build/dependabot/github_actions/gith… #2186

Workflow file for this run

name: Analyze
on:
workflow_dispatch:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
- uses: github/codeql-action/init@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
with:
languages: go
- uses: github/codeql-action/autobuild@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
- uses: github/codeql-action/analyze@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1