Skip to content

Commit 36fa8b6

Browse files
committed
fix(ci): use format() in workflow conditional to avoid literal text warning
1 parent 31806eb commit 36fa8b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
pnpm typedoc
132132
133133
- name: Commit and push changes
134-
if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
134+
if: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
135135
env:
136136
COMMIT_MESSAGE: 'docs: publish documentation'
137137
COMMIT_AUTHOR: Documentation Bot

0 commit comments

Comments
 (0)