Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot read property 'map' of undefined when branch name follows conventional commit #35

Open
ede-n opened this issue Feb 10, 2021 · 0 comments

Comments

@ede-n
Copy link

ede-n commented Feb 10, 2021

Here is the stack trace.

Run cleartax/jira-lint@master
  with:
    github-token: ***
    jira-token: ***
    jira-base-url: https://xxx.atlassian.net
    skip-branches: ^(production-release|master|release\/v\d+)$
    skip-comments: true
    pr-threshold: 1000
    validate_issue_status: false
    allowed_issue_statuses: In Progress
Base branch ->  master
Head branch ->  feature/SEAR-XXX-postgres-disk-space-alert
branch 'feature/SEAR-XXX-postgres-disk-space-alert' does not match ignore pattern provided in 'skip-branches' option: /^(production-release|master|release\/v\d+)$/
JIRA key -> SEAR-XXX
{
  error: TypeError: Cannot read property 'map' of undefined
      at /home/runner/work/_actions/cleartax/jira-lint/master/lib/index.js:1:27867
      at Generator.next (<anonymous>)
      at fulfilled (/home/runner/work/_actions/cleartax/jira-lint/master/lib/index.js:1:26281)
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
}
Error: Cannot read property 'map' of undefined

Appreciate your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant