Skip to content

Commit

Permalink
Re-enable codeql analysis (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed Oct 1, 2021
1 parent 308547a commit 2459de3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/analyze.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Analyze

on:
workflow_dispatch:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
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@v1
with:
languages: go
- uses: github/codeql-action/autobuild@v1
- uses: github/codeql-action/analyze@v1

0 comments on commit 2459de3

Please sign in to comment.