File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Create Dependabot Issues # from pull requests
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened, synchronize]
6
+ branches : [develop]
7
+
8
+ jobs :
9
+ create-issue :
10
+ runs-on : ubuntu-latest
11
+ permissions :
12
+ issues : write
13
+ if : ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
14
+ steps :
15
+ - name : Create issue
16
+ uses : actions-cool/issues-helper@v3
17
+ with :
18
+ actions : ' create-issue'
19
+ token : ${{ secrets.GITHUB_TOKEN }}
20
+ title : ${{ github.event.pull_request.title }}
21
+ body : |
22
+ ### Dependabot opened a pull request to update a dependency. Please review it: ${{ github.event.pull_request.html_url }}
23
+ - [ ] Comment on this issue tagging Chayn staff (@kyleecodes) to be assigned as a reviewer on the PR.
24
+ - [ ] Review the pull request. See GitHub Docs below for guidance. Check the files changed, dependency review, and workflow test runs.
25
+ - [ ] Verify tests and happy paths are functional by cloning the dependabot branch and running locally.
26
+ - [ ] If pull request does not pass tests, suggest changes or write comments in the review.
27
+ - [ ] When tests pass, approve changes to complete the review, then notify us in issue discussions so we can get this merged.
28
+
29
+ ### Resources
30
+ GitHub Docs - Reviewing Pull Requests with Dependency Updates: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-dependency-changes-in-a-pull-request
31
+ labels : ' dependencies'
You can’t perform that action at this time.
0 commit comments