Skip to content

Commit

Permalink
Skip jobs for gopher bot
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekMichali committed Sep 20, 2024
1 parent 2526e8a commit 13f3a68
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pull-btp-manager-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
jobs:
build-image:
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main # Usage: kyma-project/test-infra/.github/workflows/image-builder.yml@main
if: ${{ !github.event.pull_request.user.login == 'kyma-gopher-bot' }}
with:
name: btp-manager
dockerfile: Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
run-e2e-tests:
uses: "./.github/workflows/run-e2e-tests-reusable.yaml"
if: ${{ !github.event.pull_request.user.login == 'MarekMichali' }}
if: ${{ !github.event.pull_request.draft && !github.event.pull_request.user.login == 'kyma-gopher-bot' }}
with:
image-tag: PR-${{ github.event.number }}
image-repo: europe-docker.pkg.dev/kyma-project/dev/btp-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
run-e2e-upgrade-while-deleting-tests:
name: E2E upgrade while deleting tests
if: ${{ !github.event.pull_request.draft }}
if: ${{ !github.event.pull_request.draft && !github.event.pull_request.user.login == 'kyma-gopher-bot' }}
secrets: inherit
uses: "./.github/workflows/run-e2e-upgrade-while-deleting-tests-reusable.yaml"
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ on:
jobs:
run-unit-tests:
uses: "./.github/workflows/run-unit-tests-reusable.yaml"
if: ${{ !github.event.pull_request.user.login == 'kyma-gopher-bot' }}
with:
release: "false"

0 comments on commit 13f3a68

Please sign in to comment.