Skip to content

ReadMe updates for Discovery Scripts #183

ReadMe updates for Discovery Scripts

ReadMe updates for Discovery Scripts #183

---
# This status check is updated on all repositories by the moan.py script
# in the github-repository-management repository.
# Changes in this file will be overwritten periodically.
# To make changes persistent, please mark this repository with update_status_check: false
# or make your changes in the github-repository-management/status_check.yml file
name: Common CCDC PR Checks
on: [pull_request] # yamllint disable-line rule:truthy
jobs:
ccdc-commit-hooks-on-pull-request-check:
runs-on: ubuntu-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
shell: bash
run: |
delimiter="$(python -c 'import uuid; print(uuid.uuid4())')"
{
echo "commit_message<<${delimiter}"
git log --format=%B -n 1 HEAD
echo "${delimiter}"
} >> "$GITHUB_ENV"
- name: Check pull request files with commit hook action
uses: ccdc-opensource/commit-hooks@v8
with:
commitMessage: ${{ env.commit_message }}
# licenceCheck: true