diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index b978464e..996807ea 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -37,10 +37,10 @@ jobs: - name: check run: | PR_TITLE_PREFIX=$(echo "$PR_TITLE" | cut -d':' -f1) - if [[ ! -d "pkg/collector/$PR_TITLE_PREFIX" ]] || [[ "$PR_TITLE_PREFIX" == "chore" ]] || [[ "$PR_TITLE_PREFIX" == "*" ]]; then + if [[ ! -d "pkg/collector/$PR_TITLE_PREFIX" ]] || [[ "$PR_TITLE_PREFIX" == "chore(deps)" ]] || [[ "$PR_TITLE_PREFIX" == "chore" ]] || [[ "$PR_TITLE_PREFIX" == "*" ]]; then echo "PR title must start with an name of an collector package" echo "Example: 'logical_disk: description'" exit 1 fi env: - PR_TITLE: ${{ github.event.pull_request.title }} \ No newline at end of file + PR_TITLE: ${{ github.event.pull_request.title }}