Skip to content

Commit

Permalink
Prevent workflow jobs run twice
Browse files Browse the repository at this point in the history
  • Loading branch information
tierpod committed Apr 15, 2024
1 parent bb0d628 commit fd08014
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
# https://github.com/orgs/community/discussions/57827
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name

steps:

Expand Down

0 comments on commit fd08014

Please sign in to comment.