Skip to content

Commit

Permalink
Fix YAML syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
AC-Dap authored Oct 8, 2023
1 parent defadcb commit e5905ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/black-code-formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e5905ae

Please sign in to comment.