Merge pull request #14995 from Automattic/vkarpov15/createindex-sync-… #1960
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 - Action" | |
on: | |
pull_request: | |
paths: | |
- 'lib/**' | |
push: | |
branches: | |
- master | |
paths: | |
- 'lib/**' | |
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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
config-file: ./.github/codeql/codeql-config.yml | |
# Override language selection by uncommenting this and choosing your languages | |
# with: | |
# languages: go, javascript, csharp, python, cpp, java | |
# ℹ️ Command-line programs to run using the OS shell. | |
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | |
# ✏️ If the Autobuild fails above, remove it and uncomment the following | |
# three lines and modify them (or add more) to build your code if your | |
# project uses a compiled language | |
#- run: | | |
# make bootstrap | |
# make release | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |