chore: reduce codeql time (#20158)

This commit is contained in:
Marko
2024-04-23 18:58:05 +00:00
committed by GitHub
parent ca94eccb4c
commit 843fc134df
3 changed files with 14 additions and 3 deletions
+4
View File
@@ -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
+7
View File
@@ -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: