Skip to content

Commit

Permalink
infra: Don't run CI on dependabot PRs
Browse files Browse the repository at this point in the history
Because dependabot pushes branches to this repo, we were running all
the tests twice.

Signed-off-by: justinsb <justinsb@google.com>
  • Loading branch information
justinsb committed Jan 26, 2024
1 parent 2fabe98 commit 9f2adf1
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/checkDocSync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ name: Check Documentation Synchronized
on:
pull_request:
push:
branches:
- '!dependabot/*'
jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/checkLicenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ name: Check Licenses
on:
pull_request:
push:
branches:
- '!dependabot/*'
jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/checkSite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
paths:
- "site/**"
push:
branches:
- '!dependabot/*'
paths:
- "site/**"
jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2eEnvironment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
- "docs/**"
- "site/**"
push:
branches:
- '!dependabot/*'
paths-ignore:
- "docs/**"
- "site/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ on:
- "site/**"
- "**.md"
push:
branches:
- '!dependabot/*'

env:
GOPATH: ${{ github.workspace }}/go
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/live-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
- "docs/**"
- "site/**"
push:
branches:
- '!dependabot/*'
paths-ignore:
- "docs/**"
- "site/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/porch-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
name: Porch End-to-End Tests
on:
push:
branches:
- '!dependabot/*'
paths-ignore:
- "docs/**"
- "site/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/porch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ name: Porch

on:
push:
branches:
- '!dependabot/*'
paths-ignore:
- "docs/**"
- "site/**"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
name: kpt Release
on:
push:
branches:
- '!dependabot/*'
tags:
- "v[1-9].*.*"
- "v[1-9].*.*"

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/verifyContent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ on:
- "commands/**"
- "internal/**"
push:
branches:
- '!dependabot/*'
paths:
- "site/**"
- "commands/**"
Expand Down

0 comments on commit 9f2adf1

Please sign in to comment.