From bdff70bac86625c20b005087223ecc23c2655265 Mon Sep 17 00:00:00 2001 From: Glen Thomas Date: Wed, 15 Oct 2025 16:10:58 +0100 Subject: [PATCH] Use curly braces in if condition GitHub lint says it's strongly recommended to always wrap the full `if:` condition in `${{ }}` --- .../choose-when-workflows-run/control-jobs-with-conditions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d5ca429035a2..4e933c9d3ab1 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,7 @@ name: example-workflow on: [push] jobs: production-deploy: - if: github.repository == 'octo-org/octo-repo-prod' + if: ${{ github.repository == 'octo-org/octo-repo-prod' }} runs-on: ubuntu-latest steps: - uses: {% data reusables.actions.action-checkout %}