Skip to content

Commit

Permalink
ci: should trigger every time when already has build label
Browse files Browse the repository at this point in the history
  • Loading branch information
EastSun5566 committed Nov 10, 2023
1 parent 6aaee54 commit 23f0f9f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ name: Testing build

on:
pull_request:
types:
- labeled
- synchronize
workflow_dispatch:

jobs:
build:
if: ${{ github.event.label.name == 'build' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'build') || github.event_name == 'workflow_dispatch' }}

strategy:
fail-fast: false
Expand Down

0 comments on commit 23f0f9f

Please sign in to comment.