fix: set YARN_VERSION_GIT_TAG to an empty string to avoid yarn versio… #867
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: "CodeQL" | |
on: | |
push: | |
branches: [ "master", "develop" ] | |
pull_request: | |
branches: [ "master" ] | |
schedule: | |
- cron: "27 10 * * 4" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ python, javascript ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
config-file: ./.github/codeql.yml | |
queries: +security-and-quality | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{ matrix.language }}" | |
# gitguardian: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: GitGuardian scan | |
# uses: GitGuardian/[email protected] | |
# env: | |
# GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }} | |
# GITHUB_PUSH_BASE_SHA: ${{ github.event.base }} | |
# GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
# GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} | |
# GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }} |