Skip to content

Commit

Permalink
Add action.similar-package-reviewer to Streamline Dependency Manageme…
Browse files Browse the repository at this point in the history
…nt (#30)

feat: 비슷한 패키지 체크하는 action 추가
  • Loading branch information
hmu332233 authored Oct 19, 2023
1 parent d7c1db6 commit 02357f8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/similar-package-reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: review packages

on:
workflow_dispatch:
pull_request:
types: [opened, edited]

jobs:
compare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Compare packages
id: compare-packages
uses: hmu332233/action.similar-package-reviewer@v1.1.0
with:
openai_key: ${{ secrets.OPENAI_API_KEY }}
use_functioncall: true
- name: Create comment
uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
${{ steps.compare-packages.outputs.results }}

1 comment on commit 02357f8

@vercel
Copy link

@vercel vercel bot commented on 02357f8 Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.