Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
fetch-depth: $CHECKOUT_DEPTH

- name: MegaLinter
uses: oxsecurity/megalinter/flavors/cupcake@7e042c726c68415475b05a65a686c612120a1232 # v7.7.0
uses: oxsecurity/megalinter/flavors/cupcake@55a59b24a441e0e1943080d4a512d827710d4a9d # v9.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MEGALINTER_CONFIG: ci/.mega-linter.yaml
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
python-version: '3.11'

- name: Run pre-commit on all files
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
with:
# this should run the pre-commit hooks only on the files changed between the default branch and the one in the PR
extra_args: --verbose -a
Expand All @@ -179,7 +179,7 @@ jobs:
python-version: '3.11'

- name: Run pre-commit
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
with:
# this should run the pre-commit hooks only on the files changed between the default branch and the one in the PR
extra_args: --verbose --from-ref ${{ needs.get-changed-files.outputs.BASE_REF }} --to-ref HEAD
Expand Down