Skip to content

Commit

Permalink
ci: do not run e2e and generate-report job on renovate branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanphamcybozu committed May 27, 2024
1 parent 9717446 commit 4bfb995
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
generate-report:
runs-on: ubuntu-latest
if: ${{ ! startsWith(github.ref, 'refs/heads/renovate/') && !(github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/')) }}
steps:
- name: Set up JDK
uses: actions/setup-java@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
get-running-os-for-test-e2e:
name: Get running OS for e2e test
runs-on: ubuntu-latest
if: ${{ ! startsWith(github.ref, 'refs/heads/renovate/') }}
if: ${{ ! startsWith(github.ref, 'refs/heads/renovate/') && !(github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/')) }}
outputs:
os: ${{ steps.get-os.outputs.os }}
steps:
Expand Down

0 comments on commit 4bfb995

Please sign in to comment.