Sync with WeblateOrg/meta #2572
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
# Copyright © Michal Čihař <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
# This file is maintained in https://github.com/WeblateOrg/meta/ | |
name: CodeQL | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: | |
- main | |
schedule: | |
- cron: 0 4 * * 0 | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v2 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |