Skip to content

Commit

Permalink
fix: fix missing manually added labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ytanikin committed Mar 31, 2024
1 parent fdd8df7 commit 8d258b5
Show file tree
Hide file tree
Showing 8 changed files with 25,779 additions and 4,705 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/conventional_commits_in_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: RR Conventional Commit Validation
uses: ytanikin/PRConventionalCommits@1.0.0
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
custom_labels: '{"feat": "feature", "fix": "fix", "docs": "documentation", "test": "test", "ci": "CI/CD", "refactor": "refactor", "perf": "performance", "chore": "chore", "revert": "revert", "wip": "WIP"}'
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: RR Conventional Commit Validation
uses: ./ # Uses an action in the root directory of the repository
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
custom_labels: '{"feat": "feature", "fix": "fix", "docs": "documentation", "test": "test", "ci": "CI/CD", "refactor": "refactor", "perf": "performance", "chore": "chore", "revert": "revert", "wip": "WIP"}'
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ For this configuration, the following PR title is valid: `feat: PROJECT-12345 ad

- If you need to use a different GitHub token instead of the default `GITHUB_TOKEN`, you can provide your own token as the `token` input to the action.

### Contributing

After updating the code, please run `npm prepare` to build the distribution files before committing.

## Author

Expand Down
325 changes: 247 additions & 78 deletions dist/LICENSE

Large diffs are not rendered by default.

Loading

0 comments on commit 8d258b5

Please sign in to comment.