Skip to content

Commit 166f2b5

Browse files
Copilotabernier
andcommitted
Use truthy check for secret instead of string comparison
Co-authored-by: abernier <[email protected]>
1 parent 0a82133 commit 166f2b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/chromatic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
chromatic:
77
runs-on: ubuntu-latest
88
# Only run if the CHROMATIC_PROJECT_TOKEN secret is available
9-
if: secrets.CHROMATIC_PROJECT_TOKEN != ''
9+
if: secrets.CHROMATIC_PROJECT_TOKEN
1010
steps:
1111
- uses: actions/checkout@v4
1212
with:

0 commit comments

Comments
 (0)