allow templating source field in pr automation (#584) #2012
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: CI | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '**/*.md' | |
schedule: | |
- cron: '0 0 * * 1' | |
jobs: | |
codeql: | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
name: CodeQL | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'go' ] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/[email protected] | |
with: | |
go-version-file: go.mod | |
- uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- run: make build-cli | |
- uses: github/codeql-action/analyze@v2 |