Skip to content

Commit 7233bd6

Browse files
committed
Add update dependencies workflow
1 parent e59d45e commit 7233bd6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/update-dep.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Update Dependencies
2+
on:
3+
schedule:
4+
- cron: '0 8 * * 6'
5+
jobs:
6+
update-dep:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-java@v1
11+
with:
12+
java-version: 1.8
13+
- name: Grant execute permission for gradlew
14+
run: chmod +x gradlew
15+
- name: Perform dependency resolution and write new lockfiles
16+
run: ./gradlew dependencies --write-locks
17+
- name: Create Pull Request
18+
uses: peter-evans/create-pull-request@v2
19+
with:
20+
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
21+
commit-message: Update dependencies
22+
committer: GitHub <noreply@github.com>
23+
author: actions-bot <actions-bot@users.noreply.github.com>
24+
title: Update dependencies
25+
body: |
26+
- Dependency updates
27+
28+
Auto-generated by [create-pull-request][1]
29+
30+
[1]: https://github.com/peter-evans/create-pull-request
31+
branch: update-dependencies

0 commit comments

Comments
 (0)