Skip to content

Commit

Permalink
add brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
phbasler committed Dec 9, 2024
1 parent 1bdc738 commit fe4986e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
linter:
runs-on: ubuntu-latest
env:
LocalCommit: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }}
LocalCommit: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'

steps:
- uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0
ref: ${{ github.head_ref }}
token: ${{ secrets.LINTER_PAT }}
if: !env.LocalCommit
if: ${{ !env.LocalCommit }}

- name: Install clang-format
if: inputs.apply_clang_format
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
git push
- name: Notify that changes are required
if: steps.check-changes.outputs.ChangesFound == 'True' && !env.LocalCommit
if: ${{ steps.check-changes.outputs.ChangesFound == 'True' && !env.LocalCommit }}
run: |
echo "Linter changes are required" >> $GITHUB_STEP_SUMMARY
exit 1
Expand Down

0 comments on commit fe4986e

Please sign in to comment.