chore: make main
the default branch
#108
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: "Code Scanning" | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ main, develop ] | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
CodeQL-Build: | |
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest | |
runs-on: ubuntu-latest | |
permissions: | |
# required for all workflows | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: javascript | |
config: | | |
paths-ignore: | |
- '**/test' | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |