Skip to content

Commit 5c77066

Browse files
fix(ci): remove invalid secrets check in workflow conditional
GitHub Actions does not allow direct access to secret values in if conditions for security reasons. Removed the invalid 'secrets.UNITY_EMAIL != ""' check while keeping the repository check that properly skips Unity tests for PRs from forks. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5d28c4e commit 5c77066

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
8686
- name: Run Unity tests
8787
# Skip Unity tests for external PRs (secrets not available in forks)
88-
if: github.event.pull_request.head.repo.full_name == github.repository || secrets.UNITY_EMAIL != ''
88+
if: github.event.pull_request.head.repo.full_name == github.repository
8989
uses: game-ci/unity-test-runner@v4
9090
id: unity-tests
9191
env:

0 commit comments

Comments
 (0)