Skip to content

Commit d38c3fd

Browse files
authored
chore: fix parsing issue in GHA fork detector
1 parent 04187b8 commit d38c3fd

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
@@ -85,7 +85,7 @@ jobs:
8585
- name: Check if fork
8686
id: check-fork
8787
run: |
88-
if [ "${{ github.event_name }}" == "pull_request" && "${{ github.repository }}" != "${{ github.event.pull_request.head.repo.full_name }}" ]; then
88+
if [[ "${{ github.event_name }}" == "pull_request" && "${{ github.repository }}" != "${{ github.event.pull_request.head.repo.full_name }}" ]]; then
8989
echo "This is a forked repository."
9090
echo "is_fork=true" >> $GITHUB_OUTPUT
9191
else

0 commit comments

Comments
 (0)