Skip to content

Commit de25b78

Browse files
committed
Revert "ci(verify): defined a verification workflow for gh actions"
1 parent 7328306 commit de25b78

File tree

11 files changed

+49
-15741
lines changed

11 files changed

+49
-15741
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
.LSOverride
2323

2424
# Icon must end with two \r
25-
Icon
25+
Icon
2626

2727
# Thumbnails
2828
._*
@@ -128,3 +128,4 @@ $RECYCLE.BIN/
128128
# End of https://www.gitignore.io/api/macos,windows,linux,node
129129

130130
yarn.lock
131+
package-lock.json

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
language: node_js
2+
3+
node_js:
4+
- 12
5+
- 10
6+
7+
branches:
8+
only:
9+
- master
10+
- /^greenkeeper.*$/
11+
12+
cache:
13+
npm: false
14+
15+
install:
16+
- travis_retry npm install
17+
18+
script:
19+
- npm run test
20+
21+
after_success:
22+
- npm run codecov
23+
24+
jobs:
25+
include:
26+
- stage: release
27+
node_js: lts/*
28+
script:
29+
- npm run semantic-release

.yarnrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--install.no-lockfile true

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
Parser for [Github](https://github.com), [GitLab](https://gitlab.com) and [Bitbucket](https://bitbucket.org) issues actions, references and mentions
44

5-
<!--status-badges start -->
6-
7-
[![Node CI Workflow Status][github-actions-ci-badge]][github-actions-ci-link]
8-
9-
<!--status-badges end -->
5+
[![Travis](https://img.shields.io/travis/pvdlg/issue-parser.svg)](https://travis-ci.org/pvdlg/issue-parser)
6+
[![Codecov](https://img.shields.io/codecov/c/github/pvdlg/issue-parser.svg)](https://codecov.io/gh/pvdlg/issue-parser)
7+
[![Greenkeeper badge](https://badges.greenkeeper.io/pvdlg/issue-parser.svg)](https://greenkeeper.io)
108

119
The parser can identify:
1210
- GitHub [closing keywords](https://help.github.com/articles/closing-issues-using-keywords), [duplicate keyword](https://help.github.com/articles/about-duplicate-issues-and-pull-requests), [issue references](https://guides.github.com/features/issues/#notifications) and [user mentions](https://guides.github.com/features/issues/#notifications)
@@ -440,8 +438,3 @@ Each reference has the following properties:
440438
| slug | `String` | The repository owner and name, for issue referred as `<owner>/<repo>#<issue number>`. |
441439
| prefix | `String` | The prefix used to identify the issue. |
442440
| issue | `String` | The issue number. |
443-
444-
445-
[github-actions-ci-link]: https://github.com/semantic-release/issue-parser/actions?query=workflow%3A%22Test%22+branch%3Amaster
446-
447-
[github-actions-ci-badge]: https://github.com/semantic-release/issue-parser/workflows/Test/badge.svg

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function buildMentionsRegexp({mentionsPrefixes}) {
4747

4848
function buildRefRegexp({actions, delimiters, issuePrefixes, issueURLSegments, hosts}) {
4949
return `(?:(?:[^\\w\\n\\v\\r]|^)+(${join(
50-
Object.keys(actions).flatMap(key => actions[key])
50+
[].concat(...Object.keys(actions).map(key => actions[key]))
5151
)}))?(?:[^\\w\\n\\v\\r]|^|(?: |\\t)*(?:${join([' ', '\t', ...delimiters])})(?: |\\t)*)${
5252
hosts.length > 0 ? `(?:${join(hosts)})?` : ''
5353
}((?:(?:[\\w-\\.]+)\\/)+(?:[\\w-\\.]+))?(${join([...issuePrefixes, ...issueURLSegments])})(\\d+)(?!\\w)`;

0 commit comments

Comments
 (0)