Skip to content

Misc/ci cd autogenerate md5 #21

Misc/ci cd autogenerate md5

Misc/ci cd autogenerate md5 #21

name: Run Tests
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- ready_for_review
env:
PROJECT_NAME: ${{ github.event.repository.name }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
jobs:
check-commits:
name: Check Commits Syntax
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Check commits
shell: bash
continue-on-error: true
run: |
/bin/bash .github/conventional-commit-checker.sh
# TODO: Unit-tests