Skip to content

Commit

Permalink
chore(ci): add conditional in ci-web and ci-server for renovate commi…
Browse files Browse the repository at this point in the history
…ts (#406)
  • Loading branch information
pyshx committed May 2, 2023
1 parent f2685d2 commit cc024b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_collect_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
info:
name: Collect information(server build)
name: Collect information
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion != 'failure' && github.event.repository.full_name == 'reearth/reearth' && (startsWith(github.event.workflow_run.head_branch, 'release/') || github.event.workflow_run.head_branch == 'main' || !startsWith(github.event.head_commit.message, 'v')) }}
outputs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ on:

jobs:
ci:
name: Check server change
name: ci
runs-on: ubuntu-latest
if: github.event_name != 'push' || !startsWith(github.event.head_commit.message, 'v')
defaults:
run:
working-directory: server
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ on:

jobs:
ci:
name: Check and build web change
name: ci
runs-on: ubuntu-latest
if: github.event_name != 'push' || !startsWith(github.event.head_commit.message, 'v')
defaults:
run:
working-directory: web
Expand Down

0 comments on commit cc024b2

Please sign in to comment.