Skip to content

3rd commit

3rd commit #2

name: "Validate commit message before merge"

Check failure on line 1 in .github/workflows/validate-commit-message.yml

View workflow run for this annotation

GitHub Actions / Validate commit message before merge

Invalid workflow file

The workflow is not valid. .github/workflows/validate-commit-message.yml: (Line: 15, Col: 13, Idx: 301) - (Line: 15, Col: 14, Idx: 302): While parsing a tag, did not find expected tag URI.
on:
push:
branches:
- "alban/validate-commit-message"
# merge_group:
# branches:
# - main
merge_group:
paths-ignore:
- '.github/workflows/*.yml'
jobs:
validate-commit-message:
runs-on: ubuntu-latest
if: ! ( startsWith('SONARJAVA-', github.event.head_commit.message) || startsWith('[maintenance]', github.event.head_commit.message)
steps:
- name: Validate commit message before merge
run: |
echo "${{toJSON(github.event)}}" && false