diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9a60cfb5..0c03e1b1 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - uses: ./config-npm - uses: ./config-pip - - uses: SonarSource/gh-action_pre-commit@2ddc0c7fdabce0adfaaa4075a17690972ed9961a # 1.2.0 + - uses: SonarSource/gh-action_pre-commit@1181d422cbd3380624656c4dc46f6172263c0418 # 2.0.0 with: extra-args: > --from-ref=origin/${{ github.event.pull_request.base.ref }}