forked from beyondstorage/go-service-minio
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 862 Bytes
/
auto-build.yml
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
name: Dependabot Auto Build
on: pull_request_target
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: "1.15"
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.ROBOT_GITHUB_TOKEN }}
- name: Auto build
run: make build
- name: Auto commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Auto build to generate code