Skip to content

Commit

Permalink
Update PR rating workflow to use the latest version of the rate-my-pr…
Browse files Browse the repository at this point in the history
… action.
  • Loading branch information
MHHukiewitz committed Nov 13, 2023
1 parent 17c57ae commit 3088aa3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pr-rating.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
name: Test PR Difficulty Rating Action

permissions:
pull-requests: write

on:
pull_request:
types: [opened, reopened, synchronize]
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/gh-action@main
uses: rate-my-pr/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LLAMA_URL: ${{ secrets.LLAMA_URL }}

0 comments on commit 3088aa3

Please sign in to comment.