DBZ-8324 Stop publishing to Docker Hub #344
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Commit message format check | |
on: [pull_request] | |
jobs: | |
build: | |
name: Commit message | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Commit messages in format DBZ-xxx | |
env: | |
BASE_REF: ${{ github.base_ref }} | |
run: | | |
! git log --format='format:%s' refs/remotes/origin/$BASE_REF.. | tail -n +2 | grep -Ev '^(DBZ-[[:digit:]]+)|(\[release\])|(\[jenkins-jobs\]) ' |