Skip to content

Commit

Permalink
Update syntax-check.yml
Browse files Browse the repository at this point in the history
Remove check if Dependabot made a commit for a PR, as Dependabot does not have access to the generic PAT to use. Therefore, it will not make formatting fixes because of this.
  • Loading branch information
garrettsummerfi3ld authored Feb 22, 2024
1 parent f638198 commit 4249e94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/syntax-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
spotless:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# If the action is triggered by Dependabot, do not run these checks
if: ${{ github.actor != 'dependabot[bot]' }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand All @@ -49,4 +51,4 @@ jobs:
- name: Create commit of formatted code
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[Spotless] Apply formatting"
commit_message: "[Spotless] Apply formatting"

0 comments on commit 4249e94

Please sign in to comment.