-
Notifications
You must be signed in to change notification settings - Fork 15
43 lines (35 loc) · 999 Bytes
/
extra.yml
File metadata and controls
43 lines (35 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Update Dependencies
on:
repository_dispatch:
types: [ updatedeps ]
jobs:
UpdateDep:
name: Update Dependency
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v1
with:
go-version: 1.18 # optional
- name: Update Dependency
run: |
go get -u -v github.com/wechaty/go-wechaty@${{ github.event.client_payload.tag }}
go mod download
go mod tidy
- name: Test
run: |
make install
make test
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update dependencies
title: Update dependencies
body: |
- Dependency updates
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: update-dependencies