Skip to content

Commit

Permalink
fix: dont trigger dispatch event when pr happens
Browse files Browse the repository at this point in the history
  • Loading branch information
KorewaLidesu authored Apr 26, 2024
1 parent a0f232a commit d51e9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/BuildTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
if-no-files-found: error

- name: Repository Dispatch
if: success()
if: ${{ success() && github.event_name != 'pull_request' }}
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.CLEANROOMMC_DISPATCH_TOKEN }} # require PAT :shrug:
Expand Down

0 comments on commit d51e9d1

Please sign in to comment.