Skip to content

Commit dfad998

Browse files
Use curly braces in if condition (#40865)
Co-authored-by: Sharra-writes <sharra-writes@github.com>
1 parent 452b1dc commit dfad998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ name: example-workflow
2323
on: [push]
2424
jobs:
2525
production-deploy:
26-
if: github.repository == 'octo-org/octo-repo-prod'
26+
if: ${{ github.repository == 'octo-org/octo-repo-prod' }}
2727
runs-on: ubuntu-latest
2828
steps:
2929
- uses: {% data reusables.actions.action-checkout %}

0 commit comments

Comments
 (0)