Skip to content

Commit

Permalink
@v0.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
RSS1102 committed Sep 20, 2024
1 parent 7151395 commit e1f2b16
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .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.19
uses: vegetables-school/send-relevant-comment-action@v0.0.20
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
custom-comment: 'Hello, this is a custom comment'
custom-comment: 'Hello, this is a custom comment'
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# Changelog


## v0.0.20

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

### 🏡 Chore

- 0.0.19 ([955ba35](https://github.com/vegetables-school/send-relevant-comment-action/commit/955ba35))
- 0.0.19 ([dd5d815](https://github.com/vegetables-school/send-relevant-comment-action/commit/dd5d815))

### ❤️ Contributors

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

## v0.0.19

[compare changes](https://github.com/vegetables-school/send-relevant-comment-action/compare/v0.0.18...v0.0.19)
Expand Down
2 changes: 2 additions & 0 deletions 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.19",
"version": "0.0.20",
"author": "vegetables-school",
"private": true,
"homepage": "https://github.com/vegetables-school/send-relevant-comment-action",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ export async function run(): Promise<void> {
const context = github.context

const getCustomCommentInput = core.getInput('custom-comment')
core.info(`getCustomCommentInput: ${getCustomCommentInput}`)
const customCommentBody =
getCustomCommentInput ||
`This is a comment related to #${context.issue.number}`
core.info(`customCommentBody: ${customCommentBody}`)

const prRelateArr = await getPrRelate(octokit, context)

Expand Down

0 comments on commit e1f2b16

Please sign in to comment.