Skip to content

Commit

Permalink
chore(jira): update version
Browse files Browse the repository at this point in the history
  • Loading branch information
kherP committed Jan 22, 2023
1 parent dd47d70 commit 4705ad3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ Extract issue key from string
To find an issue key inside github event (branch):
```yaml
- name: Find in commit messages
uses: kherP/[email protected].0
uses: kherP/[email protected].1
with:
string: ${{ github.event.ref }}
```
Or do the same using shortcut `from`:
```yaml
- name: Find in commit messages
uses: kherP/[email protected].0
uses: kherP/[email protected].1
with:
from: branch
```

To find an issue key inside commit messages:
```yaml
- name: Find in commit messages
uses: kherP/[email protected].0
uses: kherP/[email protected].1
with:
from: commits
```
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = class {
issueKeys = issueKeys + `:${issue.key}`;
}
}
return { issues: issueKeys }
return { issues: issueKeys.substring(1) }
}

preprocessString (str) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit 4705ad3

Please sign in to comment.