diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index d3f224a..773663c 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -159,38 +159,4 @@ jobs: name: codecov-umbrella fail_ci_if_error: false - review-check: - name: Code Review Check - runs-on: ubuntu-latest - if: github.event_name == 'pull_request' - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Check PR description - run: | - if [ -z "${{ github.event.pull_request.body }}" ]; then - echo "PR description is required" - exit 1 - fi - - - name: Check commit messages - run: | - for commit in $(git rev-list --no-merges origin/main..HEAD); do - message=$(git log -1 --pretty=%B $commit | head -n 1) - if [[ ! "$message" =~ ^(feat|fix|docs|style|refactor|test|chore|ci|security)(\(.+\))?:\ .+ ]]; then - echo "Invalid commit message format: $message" - echo "Expected format: type(scope): description" - echo "Allowed types: feat, fix, docs, style, refactor, test, chore, ci, security" - exit 1 - fi - done - - - name: Check for TODO comments - run: | - if git diff --name-only origin/main..HEAD | xargs grep -l "TODO"; then - echo "Please resolve TODO comments before merging" - exit 1 - fi +