Skip to content

Commit 56a8026

Browse files
authored
chore: fix bencher tresholds not populating on PR's correctly (#448)
1 parent 762659d commit 56a8026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bevy_mod_scripting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- name: Check if fork
8484
id: check-fork
8585
run: |
86-
if [ "${{ github.repository }}" != "${{ github.event.pull_request.head.repo.full_name }}" ]; then
86+
if [ "${{ github.event_name }}" == "pull_request" && "${{ github.repository }}" != "${{ github.event.pull_request.head.repo.full_name }}" ]; then
8787
echo "This is a forked repository."
8888
echo "is_fork=true" >> $GITHUB_OUTPUT
8989
else

0 commit comments

Comments
 (0)