From e5905ae87c886c467d5ca39b990bd2464ccdb78e Mon Sep 17 00:00:00 2001 From: Anthony Cui <35975809+AC-Dap@users.noreply.github.com> Date: Sun, 8 Oct 2023 14:12:40 -0400 Subject: [PATCH] Fix YAML syntax --- .github/workflows/black-code-formatter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/black-code-formatter.yml b/.github/workflows/black-code-formatter.yml index 61da7f255..692a06d5b 100644 --- a/.github/workflows/black-code-formatter.yml +++ b/.github/workflows/black-code-formatter.yml @@ -4,7 +4,7 @@ on: [ push, pull_request, issue_comment ] jobs: lint: - if: !contains(github.event_name, 'issue_comment') # Don't want to trigger on comments + if: ${{ !contains(github.event_name, 'issue_comment') }} # Don't want to trigger on comments runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -13,7 +13,7 @@ jobs: options: "--check" src: "./ersilia" comment-lint: - if: github.event.issue.pull_request && contains(github.event.comment.body, '✨') + if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '✨') }} runs-on: ubuntu-latest permissions: # Give the default GITHUB_TOKEN write permission to commit and push the