Skip to content

Commit

Permalink
fix CI trigger on fork repo pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
bekiroguz committed Oct 7, 2024
1 parent dc669c6 commit 49b6a4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
contents: write
pull-requests: write
runs-on: ubuntu-latest
# This condition ensures the ci job runs only for push events that are not associated with a pull request (prevents duplicate runs)
if: ${{ github.event_name == 'push' && github.event.pull_request == null }}
if: ${{ github.event_name == 'push' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 49b6a4a

Please sign in to comment.