Skip to content

BUILD-6326: make the presence of GitHub environment optional #77

BUILD-6326: make the presence of GitHub environment optional

BUILD-6326: make the presence of GitHub environment optional #77

Workflow file for this run

on:
pull_request:
jobs:
pre-commit:
name: "pre-commit"
runs-on: ubuntu-latest
steps:
- uses: SonarSource/gh-action_pre-commit@3c7fc5aae134cae8554df61c1c802612b0e66296 # 1.0.3
with:
extra-args: --from-ref=origin/${{ github.event.pull_request.base.ref }} --to-ref=${{ github.event.pull_request.head.sha }}