diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 6482df2c..b03c8142 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -6,11 +6,10 @@ ## Categorise the PR -- [ ] feature -- [ ] bug -- [ ] docs -- [ ] meta - -- [ ] patch -- [ ] minor -- [ ] major +- [ ] `feature` +- [ ] `bug` +- [ ] `docs` +- [ ] `meta` +- [ ] `patch` +- [ ] `minor` +- [ ] `major` diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml index 9934683f..1646b127 100644 --- a/.github/workflows/pr-labels.yml +++ b/.github/workflows/pr-labels.yml @@ -17,4 +17,4 @@ jobs: - uses: harupy/auto-labeling@master with: github-token: ${{ secrets.GITHUB_TOKEN }} - label-pattern: '- \[(.*?)\] ?(.+?)' # matches '- [x] `label`' + label-pattern: '- \[(.*?)\] ?`(.+?)`' # matches '- [x] `label`'