Skip to content

Update GitHub actions (major) #1341

Update GitHub actions (major)

Update GitHub actions (major) #1341

Workflow file for this run

name: Pre-commit Checks
on:
pull_request:
permissions:
id-token: write
contents: read
jobs:
pre-commit:
runs-on: github-ubuntu-latest-s
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./config-npm
- uses: SonarSource/gh-action_pre-commit@2ddc0c7fdabce0adfaaa4075a17690972ed9961a # 1.2.0
with:
extra-args: >
--from-ref=origin/${{ github.event.pull_request.base.ref }}
--to-ref=${{ github.event.pull_request.head.sha }}