You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/.github/workflows/codeql-analysis.yml

37 lines
1.2 KiB

name: "Code scanning - scheduled (weekly)"
on:
schedule:
- cron: '0 15 * * 0'
permissions:
contents: read
jobs:
CodeQL-Build:
runs-on: ${{ fromJSON(vars.RUNNER) }}
steps:
- name: Checkout repository
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
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
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@e00cd12e3ee0ce24d476645336a315351be51d88 # TSCCR: actions in subdirectories not yet supported: init
# Override language selection by uncommenting this and choosing your languages
with:
languages: go, javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e00cd12e3ee0ce24d476645336a315351be51d88 # TSCCR: actions in subdirectories not yet supported: analyze