Skip to content

SYS-8665 fix changed files #259

SYS-8665 fix changed files

SYS-8665 fix changed files #259

Workflow file for this run

name: Run precommit checks on self
on: pull_request
jobs:
precommit-check:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- uses: actions/checkout@v7
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: actions/setup-python@v7
with:
python-version: "3.11"
- name: Get the commit message
run: |
delimiter="$(python -c 'import uuid; print(uuid.uuid4())')"
{
echo "commit_message<<${delimiter}"
git log --format=%B -n 1 HEAD
echo "${delimiter}"
} >> "$GITHUB_ENV"
shell: bash
- uses: ./
with:
commitMessage: ${{ env.commit_message }}
licenceCheck: true