git: status, implement IsAdded IsModified IsDeleted method. Fixes #1143 #515
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: 'PR Validation' | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
permissions: | |
contents: read | |
jobs: | |
check-commit-message: | |
name: Check Commit Messages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Package Prefix | |
uses: gsactions/commit-message-checker@v2 | |
with: | |
pattern: '^(\*|git|plumbing|utils|config|_examples|internal|storage|cli|build): .+' | |
error: | | |
Commit message(s) does not align with contribution acceptance criteria. | |
Refer to https://github.com/go-git/go-git/blob/master/CONTRIBUTING.md#format-of-the-commit-message for more information. | |
excludeDescription: 'true' | |
excludeTitle: 'true' | |
checkAllCommitMessages: 'true' | |
accessToken: ${{ secrets.GITHUB_TOKEN }} |