Skip to content

Commit

Permalink
fix actions chạy 2 lần: push và pr sync
Browse files Browse the repository at this point in the history
  • Loading branch information
minhh2792 authored Feb 29, 2024
1 parent 2975450 commit b59fd9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
build:
if: (github.event_name == 'pull_request' && github.event.action == 'labeled') || github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b59fd9d

Please sign in to comment.