chore: skip push event for branches of dependabot.

Co-authored-by: zhzhuang-zju <m17799853869@163.com>
Co-authored-by: RainbowMango <qdurenhongcai@gmail.com>
Signed-off-by: Lan Liang <gcslyp@gmail.com>
This commit is contained in:
Lan Liang 2024-03-27 23:44:56 +00:00
parent ff7322acf2
commit b825b35479
5 changed files with 21 additions and 1 deletions

View File

@ -1,6 +1,10 @@
name: image-scanning
on:
push:
push:
# Exclude branches created by Dependabot to avoid triggering current workflow
# for PRs initiated by Dependabot.
branches-ignore:
- 'dependabot/**'
jobs:
use-trivy-to-scan-image:
name: image-scanning

View File

@ -3,6 +3,10 @@ on:
# Run this workflow every time a new commit pushed to upstream/fork repository.
# Run workflow on fork repository will help contributors find and resolve issues before sending a PR.
push:
# Exclude branches created by Dependabot to avoid triggering current workflow
# for PRs initiated by Dependabot.
branches-ignore:
- 'dependabot/**'
pull_request:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:

View File

@ -3,6 +3,10 @@ on:
# Run this workflow every time a new commit pushed to upstream/fork repository.
# Run workflow on fork repository will help contributors find and resolve issues before sending a PR.
push:
# Exclude branches created by Dependabot to avoid triggering current workflow
# for PRs initiated by Dependabot.
branches-ignore:
- 'dependabot/**'
pull_request:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:

View File

@ -1,6 +1,10 @@
name: FOSSA
on:
push:
# Exclude branches created by Dependabot to avoid triggering current workflow
# for PRs initiated by Dependabot.
branches-ignore:
- 'dependabot/**'
jobs:
fossa:
name: FOSSA

View File

@ -9,6 +9,10 @@ env:
on:
push:
# Exclude branches created by Dependabot to avoid triggering current workflow
# for PRs initiated by Dependabot.
branches-ignore:
- 'dependabot/**'
pull_request:
paths:
- "charts/**"