Skip to content

Commit

Permalink
chore: 0.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
RSS1102 committed Sep 20, 2024
1 parent b5c025b commit 4d708ee
Show file tree
Hide file tree
Showing 7 changed files with 20 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.16
uses: vegetables-school/send-relevant-comment-action@v0.0.17
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.17

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

### 🏡 Chore

- 0.0.16 ([f7a777b](https://github.com/vegetables-school/send-relevant-comment-action/commit/f7a777b))

### ❤️ Contributors

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

## v0.0.16

[compare changes](https://github.com/vegetables-school/send-relevant-comment-action/compare/v0.0.15...v0.0.16)
Expand Down
3 changes: 2 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.16",
"version": "0.0.17",
"author": "vegetables-school",
"private": true,
"homepage": "https://github.com/vegetables-school/send-relevant-comment-action",
Expand Down
1 change: 1 addition & 0 deletions scripts/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// todo: 在 auto-release 时,自动更新workflow文件
3 changes: 2 additions & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export const parsePrOwnRepoRelate = (content?: string | null) => {
export const mergeDeduplicatedArr = (arr1: number[], arr2: number[]) => {
core.info(`arr1: ${arr1}`)
core.info(`arr2: ${arr2}`)
core.info(`arr1: ${[...arr1, ...arr2]}`)
core.info(`arrs: ${[...arr1, ...arr2]}`)
core.info(`newSet: ${new Set([...arr1, ...arr2])}`)
core.info(`mergeDeduplicatedArr: ${Array.from(new Set([...arr1, ...arr2]))}`)
return Array.from(new Set([...arr1, ...arr2]))
}

0 comments on commit 4d708ee

Please sign in to comment.