Skip to content

Commit

Permalink
Fix ci syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
yijie-yang committed Sep 10, 2024
1 parent 194f9e2 commit eaf7594
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run_server_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- 'src/ui/**'
pull_request:
branches: [ "main" ]
types: [labeled, synchronize, opened, reopened]
paths:
- 'src/ui/**'

Expand All @@ -27,7 +28,7 @@ jobs:
env:
BRANCH_NAME: ${{ github.head_ref }}
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
- name: fail-without-ci_run
- name: Fail if no ci:run label
if: ${{ !((github.event.pull_request.user.login == 'copybara-service[bot]') || contains(github.event.pull_request.labels.*.name, 'ci:run')) }}
run: exit 1

Expand Down

0 comments on commit eaf7594

Please sign in to comment.