Skip to content

Commit

Permalink
Merge pull request #4976 from liangyuanpeng/cherrypick_1.9_4762
Browse files Browse the repository at this point in the history
[1.9] chore: skip push event for branches of dependabot.
  • Loading branch information
karmada-bot committed May 27, 2024
2 parents abbb1df + 021f00b commit 93a403a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-image-scanning.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/**"
Expand Down

0 comments on commit 93a403a

Please sign in to comment.