Add CodeQL Analysis workflow (#13851)
This commit is contained in:
1 parent
decc3bae65
commit
f9a71da439
9 files changed
+293
-58
No files matched your search
@@ -0,0 +1,40 @@
|
||||
name: CodeQL
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- patch-release
|
||||
- next
|
||||
- "!renovate/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- patch-release
|
||||
- next
|
||||
- "!renovate/**"
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3.1.0
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2.1.32
|
||||
with:
|
||||
config-file: ./.github/codeql/codeql-config.yml
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2.1.32
|
||||
@@ -2,6 +2,10 @@ name: Internal_ESLint_Rules_Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- patch-release
|
||||
- next
|
||||
paths:
|
||||
- "scripts/tools/eslint-plugin-prettier-internal-rules/**"
|
||||
# This workflow file
|
||||
|
||||
@@ -13,6 +13,10 @@ concurrency:
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- patch-release
|
||||
- next
|
||||
paths:
|
||||
- "scripts/release/**"
|
||||
- ".github/workflows/release-script-test.yml"
|
||||
|
||||
Reference in new issue
Block a user