mirror of
https://github.com/docker/login-action.git
synced 2024-12-12 14:45:49 +08:00
6452b9a4db
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
51 lines
1000 B
YAML
51 lines
1000 B
YAML
name: codeql
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'releases/v*'
|
|
paths:
|
|
- '.github/workflows/codeql.yml'
|
|
- 'dist/**'
|
|
- 'src/**'
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/codeql.yml'
|
|
- 'dist/**'
|
|
- 'src/**'
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
jobs:
|
|
analyze:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language:
|
|
- javascript-typescript
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v4
|
|
-
|
|
name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v2
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
config: |
|
|
paths:
|
|
- src
|
|
-
|
|
name: Autobuild
|
|
uses: github/codeql-action/autobuild@v2
|
|
-
|
|
name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v2
|
|
with:
|
|
category: "/language:${{matrix.language}}"
|