File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 45
45
The team will review your PR shortly. If you have any questions, feel free to ask here!
46
46
Happy Coding! 🚀
47
47
48
+ # Add labels to the pull request
49
+ - name : Add Labels to Pull Request
50
+ if : ${{ github.event_name == 'pull_request' }}
51
+ uses : actions-ecosystem/action-add-labels@v1
52
+ with :
53
+ github_token : ${{ secrets.GITHUB_TOKEN }}
54
+ labels : ' Under Review'
55
+ number : ${{ github.event.pull_request.number }}
56
+
57
+ # Request a review for the pull request
58
+ - name : Request Review on Pull Request
59
+ if : ${{ github.event_name == 'pull_request' }}
60
+ uses : actions/github-script@v6
61
+ with :
62
+ script : |
63
+ github.rest.pulls.requestReviewers({
64
+ owner: context.repo.owner,
65
+ repo: context.repo.repo,
66
+ pull_number: context.payload.pull_request.number,
67
+ reviewers: ['yashksaini-coder']
68
+ })
69
+
70
+ # Add a comment to the issue
48
71
- name : Add Comment on Issue
49
72
if : ${{ github.event_name == 'issues' }}
50
73
uses : peter-evans/create-or-update-comment@v3
You can’t perform that action at this time.
0 commit comments