Skip to content

Commit

Permalink
fix: running error
Browse files Browse the repository at this point in the history
  • Loading branch information
roseline124 committed Jun 26, 2024
1 parent 4288ce8 commit 1d9c341
Show file tree
Hide file tree
Showing 41 changed files with 49,056 additions and 67 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pr-code-review-notifciation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
run: echo "REVIEWERS_FILE=reviewers.yml" >> $GITHUB_ENV

- name: Notify Slack
run: pnpm notify-slack
run: |
pnpm build
pnpm notify-slack
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
dist
.idea
.vscode
10 changes: 6 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ inputs:
description: "Slack Workspace Name"
required: true
reviewers_file:
description: "Path to the reviewers YAML file"
required: true
description: "Path to the reviewers YAML file. default: reviewers.yml on project root level."
required: false
default: "reviewers.yml"

runs:
using: "node12"
main: "src/notify-slack.ts"
using: "node20"
main: "dist/index.js"
7 changes: 7 additions & 0 deletions dist/github.js

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

1 change: 1 addition & 0 deletions dist/github.js.map

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

23 changes: 23 additions & 0 deletions dist/handlers/common/find-slack-ts-in-comments.js

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

1 change: 1 addition & 0 deletions dist/handlers/common/find-slack-ts-in-comments.js.map

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

13 changes: 13 additions & 0 deletions dist/handlers/common/get-reviewer-slack-id.js

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

1 change: 1 addition & 0 deletions dist/handlers/common/get-reviewer-slack-id.js.map

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

55 changes: 55 additions & 0 deletions dist/handlers/handle-create-comment.js

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

1 change: 1 addition & 0 deletions dist/handlers/handle-create-comment.js.map

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

42 changes: 42 additions & 0 deletions dist/handlers/handle-pr-merge.js

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

1 change: 1 addition & 0 deletions dist/handlers/handle-pr-merge.js.map

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

81 changes: 81 additions & 0 deletions dist/handlers/handle-pr-open.js

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

1 change: 1 addition & 0 deletions dist/handlers/handle-pr-open.js.map

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

60 changes: 60 additions & 0 deletions dist/handlers/handle-request-review.js

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

Loading

0 comments on commit 1d9c341

Please sign in to comment.