Skip to content

Multi tape turing machine - ongoing PR #65

Multi tape turing machine - ongoing PR

Multi tape turing machine - ongoing PR #65

Workflow file for this run

# taken from https://github.com/leanprover/lean4/blob/114f7e42f1abd10885e91698cd2910b1e4d76083/.github/workflows/pr-title.yml
# the regex is altered to allow parentheses after the type as Mathlib does, e.g. `feat(CI): add workflow to check for commit convention`
name: Check PR title for commit convention
on:
merge_group:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
check-pr-title:
runs-on: ubuntu-latest
steps:
- name: Check PR title
uses: actions/github-script@v8
with:
script: |
const msg = context.payload.pull_request? context.payload.pull_request.title : context.payload.merge_group.head_commit.message;