Skip to content

Commit

Permalink
chore: 0.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
RSS1102 committed Sep 20, 2024
1 parent 77d3f94 commit 35e24c6
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/send-relevant-notifications-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout code repository
uses: vegetables-school/send-relevant-comment-action@v0.0.14
uses: vegetables-school/send-relevant-comment-action@v0.0.15
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
custom-comment: 'Hello, this is a custom comment'
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Changelog


## v0.0.15

[compare changes](https://github.com/vegetables-school/send-relevant-comment-action/compare/v0.0.14...v0.0.15)

### 🏡 Chore

- 0.0.14 ([77d3f94](https://github.com/vegetables-school/send-relevant-comment-action/commit/77d3f94))

### ❤️ Contributors

- 阿Cai ([@RSS1102](http://github.com/RSS1102))

## v0.0.14

[compare changes](https://github.com/vegetables-school/send-relevant-comment-action/compare/v0.0.13...v0.0.14)
Expand Down
4 changes: 3 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@vegetables-school/send-relevant-comment-action",
"description": "Send comment of relevant issues and PR within the PR",
"license": "MIT",
"version": "0.0.14",
"version": "0.0.15",
"author": "vegetables-school",
"private": true,
"homepage": "https://github.com/vegetables-school/send-relevant-comment-action",
Expand Down
4 changes: 3 additions & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import * as core from '@actions/core'
*/
export const parsePrOwnRepoRelate = (content?: string | null) => {
const regex = /#(\d+)/g
core.info(`content: ${content}`)
const matches = content?.match(regex)
core.info(`parsePrOwnRepoRelate: ${matches}`)
core.info(Array.isArray(matches)?.toString())
core.info(`match: ${matches}`)
const result = matches
? matches.map(match => parseInt(match.replace('#', '')))
: []
Expand Down

0 comments on commit 35e24c6

Please sign in to comment.