chore: reduce codeql time (#20158)
This commit is contained in:
@@ -11,6 +11,10 @@ on:
|
||||
paths:
|
||||
- "**.go"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
name: Run Gosec
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- release/**
|
||||
paths:
|
||||
- "**/*.go"
|
||||
- "go.mod"
|
||||
@@ -13,6 +16,10 @@ on:
|
||||
- "go.mod"
|
||||
- "go.sum"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
Gosec:
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user