diff --git a/.github/workflows/syntax-check.yml b/.github/workflows/syntax-check.yml index be5da0e..264b287 100644 --- a/.github/workflows/syntax-check.yml +++ b/.github/workflows/syntax-check.yml @@ -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 @@ -49,4 +51,4 @@ jobs: - name: Create commit of formatted code uses: stefanzweifel/git-auto-commit-action@v5 with: - commit_message: "[Spotless] Apply formatting" \ No newline at end of file + commit_message: "[Spotless] Apply formatting"