diff --git a/.github/workflows/pr-rating.yml b/.github/workflows/pr-rating.yml new file mode 100644 index 00000000..2bbcd27d --- /dev/null +++ b/.github/workflows/pr-rating.yml @@ -0,0 +1,19 @@ +name: Test PR Difficulty Rating Action + +permissions: + pull-requests: write + +on: + pull_request: + types: [opened, reopened, ready_for_review] + +jobs: + difficulty-rating: + runs-on: ubuntu-latest + if: github.event.pull_request.draft == false + steps: + - name: PR Difficulty Rating + uses: rate-my-pr/rate@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + LLAMA_URL: ${{ secrets.LLAMA_URL }}