File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version : 2
7
+ updates :
8
+ - package-ecosystem : " npm" # See documentation for possible values
9
+ directory : " /" # Location of package manifests
10
+ schedule :
11
+ interval : " weekly"
Original file line number Diff line number Diff line change
1
+ name : Auto approve
2
+
3
+ on :
4
+ issue_comment :
5
+ types :
6
+ - created
7
+
8
+ jobs :
9
+ auto-approve :
10
+ runs-on : ubuntu-latest
11
+ permissions :
12
+ pull-requests : write
13
+ steps :
14
+ - uses : actions/github-script@v6
15
+ name : Approve LGTM Review
16
+ if : github.actor == 'ucswift' && contains(github.event.comment.body, 'Approve')
17
+ with :
18
+ script : |
19
+ github.rest.pulls.createReview({
20
+ owner: context.repo.owner,
21
+ repo: context.repo.repo,
22
+ pull_number: context.issue.number,
23
+ review_id: 1,
24
+ event: 'APPROVE',
25
+ body: 'This PR is approved.'
26
+ })
You can’t perform that action at this time.
0 commit comments