Releases: santomegonzalo/pr-checker-github-action
Releases · santomegonzalo/pr-checker-github-action
First release
How to use it:
on:
pull_request:
# we recommend to use it on every pull request event
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
- edited
jobs:
check_labels:
runs-on: ubuntu-latest
name: Check required labels and title
steps:
- name: Checkout
uses: actions/checkout@v2
- name: PR Checker
uses: santomegonzalo/pr-checker-github-actions@v1
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
jira_title_regex: ^\[(([A-Z][A-Z0-9]+-[0-9]+)|NOJIRA)\]
required_labels: "feature,bug,documentation,chore"