chore(ci): more updating CI to run more efficient
This commit is contained in:
@@ -14,13 +14,23 @@ name: 'CodeQL'
|
||||
on:
|
||||
push:
|
||||
branches: [develop]
|
||||
paths-ignore:
|
||||
- 'static/**'
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- 'web/**/*.{js,ts,tsx,jsx}'
|
||||
- '.github/workflows/codeql-analysis.yml'
|
||||
- '.github/codeql/**'
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [develop]
|
||||
paths-ignore:
|
||||
- 'static/**'
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- 'web/**/*.{js,ts,tsx,jsx}'
|
||||
- '.github/workflows/codeql-analysis.yml'
|
||||
- '.github/codeql/**'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
||||
Reference in New Issue
Block a user