Skip to content

deal with () in filenames by escaping them (NO_JIRA) #195

deal with () in filenames by escaping them (NO_JIRA)

deal with () in filenames by escaping them (NO_JIRA) #195

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@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Get the commit message
run: |
echo 'commit_message<<EOF' >> $GITHUB_ENV
git log --format=%B -n 1 ${{ github.event.after }} >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
shell: bash
- uses: ccdc-opensource/commit-hooks@main
with:
commitMessage: ${{ env.commit_message }}