Skip to content

Commit de242a5

Browse files
authored
Remove empty lines from control-jobs-with-conditions (#40883)
1 parent da88b4b commit de242a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

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

0 commit comments

Comments
 (0)