norio-nomura/action-swiftlint

Can't run GitHub Action for SwiftLint (Only files changed in the PR)

lactuannn opened this issue · 2 comments

When using the configuration option

     - name: GitHub Action for SwiftLint (Only files changed in the PR)
        uses: norio-nomura/action-swiftlint@3.2.1
        env:
          DIFF_BASE: ${{ github.base_ref }}

I got this errors.
Screenshot 2023-06-23 at 10 22 45

I tried some solutions on Stackoverflow like:
git config --global --add safe.directory '*'
or
git config --system --add safe.directory '*'
But it doesn't work...

+1 we are seeing this too

Does someone managed to solve this?