Skip to content

.github/workflows/checker.yml #6

.github/workflows/checker.yml

.github/workflows/checker.yml #6

Workflow file for this run

on:
pull_request:
merge_group:
jobs:
check_commit_message:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
set -x
COMMIT_MESSAGE=$(git log --format=%B -n 1 $GITHUB_SHA)
if [[ $COMMIT_MESSAGE =~ fail ]]; then
echo failing as required
exit 1
fi
always_passing_job:
runs-on: ubuntu-latest
steps:
- run: echo "evergreen"