File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 steps :
2323 - name : Approve pull request
2424 if : github.actor == 'dependabot'
25- uses : andrewmusgrave/automatic-pull-request-review@master
25+ uses : andrewmusgrave/automatic-pull-request-review@v0.0.2
2626 with :
2727 repo-token : ' ${{ secrets.GITHUB_TOKEN }}'
2828 event : APPROVE
3333
3434These are the options recommended to be changed. For more detailed explanation of the workflow file, check out the [GitHub documentation](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file).
3535
36- | Setting | Description | Values |
37- | ------------ | ------------------------------------------------ | ------------------------------------------------ |
38- | ` event` | The event to perform on the pull request review. | APPROVE \| COMMENT \| DISMISS \| REQUEST_CHANGES |
39- | `body` | The contents of the review body comment. | String |
40- | `repo-token` | The personal access token | `${{ secrets.GITHUB_TOKEN }}` |
36+ | Setting | Description | Values |
37+ | ------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------ |
38+ | ` event` | The event to perform on the pull request review. | APPROVE \| COMMENT \| DISMISS \| REQUEST_CHANGES |
39+ | `body` | The contents of the review body comment. Required when event is COMMENT or REQUEST_CHANGES | String |
40+ | `repo-token` | The personal access token | `${{ secrets.GITHUB_TOKEN }}` |
Original file line number Diff line number Diff line change 1- name : " Automatic pull request review"
2- description : " 👍 Github action to automate pull requests"
3- author : " Andrew Musgrave <andrewdmusgrave@gmail.com>"
1+ name : ' Automatic pull request review'
2+ description : ' 👍 Github action to automate pull requests'
3+ author : ' Andrew Musgrave <andrewdmusgrave@gmail.com>'
44runs :
5- using : " node12"
6- main : " dist/index.js"
5+ using : ' node12'
6+ main : ' dist/index.js'
77branding :
8- icon : " thumbs-up"
9- color : " gray-dark"
8+ icon : ' thumbs-up'
9+ color : ' gray-dark'
1010inputs :
1111 event :
12- description : " "
13- default : " APPROVE"
12+ description : ' The event to perform on the pull request review. '
13+ default : ' APPROVE'
1414 body :
15- description : " "
15+ description : ' The contents of the review body comment. Required when event is COMMENT or REQUEST_CHANGES. '
Original file line number Diff line number Diff line change 11{
22 "name" : " automatic-pull-request-review" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.0.2 " ,
44 "description" : " 👍 Github action to automate pull requests" ,
55 "private" : true ,
66 "main" : " dist/index.js" ,
You can’t perform that action at this time.
0 commit comments