Skip to content

Commit 82f7c6a

Browse files
authored
PR Difficulty Rating Workflow (#76)
* Add PR Difficulty Rating workflow to test and rate the difficulty of pull requests. * Add permissions for pull requests to have write access and update the GITHUB_TOKEN value to use secrets.GITHUB_TOKEN. * Update PR Difficulty Rating action to version 1.0.7. * Update PR Difficulty Rating action version to v1.0.8 * Update PR Difficulty Rating action to version v1.0.10 in pr-rating.yml. * Update PR Difficulty Rating action to version v1.0.11 to fix critical bug
1 parent 86e4999 commit 82f7c6a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/pr-rating.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Test PR Difficulty Rating Action
2+
3+
permissions:
4+
pull-requests: write
5+
6+
on:
7+
pull_request:
8+
types: [opened, reopened, ready_for_review]
9+
10+
jobs:
11+
difficulty-rating:
12+
runs-on: ubuntu-latest
13+
if: github.event.pull_request.draft == false
14+
steps:
15+
- name: PR Difficulty Rating
16+
uses: rate-my-pr/rate@v1.0.11
17+
with:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
LLAMA_URL: ${{ secrets.LLAMA_URL }}

0 commit comments

Comments
 (0)