Skip to content

Update GitHub actions #1768

Update GitHub actions

Update GitHub actions #1768

Workflow file for this run

name: Pre-commit Checks
on:
pull_request:
permissions:
id-token: write
contents: read
jobs:
pre-commit:
runs-on: warp-custom-ubuntu-24-04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./config-npm
- uses: SonarSource/gh-action_pre-commit@ea734ef4ee748f680f3b4ac268c1ba90e245effc # 1.2.1
with:
extra-args: >
--from-ref=origin/${{ github.event.pull_request.base.ref }}
--to-ref=${{ github.event.pull_request.head.sha }}