diff --git a/content/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions.md b/content/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions.md index 4e933c9d3ab1..038468cf01f4 100644 --- a/content/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions.md +++ b/content/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions.md @@ -23,7 +23,9 @@ name: example-workflow on: [push] jobs: production-deploy: +{% raw %} if: ${{ github.repository == 'octo-org/octo-repo-prod' }} +{% endraw %} runs-on: ubuntu-latest steps: - uses: {% data reusables.actions.action-checkout %}