Skip to content

Update GitHub actions #1327

Update GitHub actions

Update GitHub actions #1327

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@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
- 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 }}