Skip to content

Commit eec9bdb

Browse files
author
Sergey Vilgelm
committed
Update dist automatically for dependabot PRs
1 parent 25d72af commit eec9bdb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,21 @@ jobs:
2424
version: v1.29
2525
args: --issues-exit-code=0 ./sample/...
2626
only-new-issues: true
27+
dist:
28+
if: github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'dependencies')
29+
needs: [build, test]
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v2
33+
with:
34+
fetch-depth: 0
35+
- run: |
36+
npm install
37+
npm run prepare-deps
38+
npm run build
39+
- run: |
40+
git config --local user.name "golangci"
41+
git config --local user.email "golangci@localhost"
42+
git add --update
43+
git commit --message="Update dist"
44+
git push

0 commit comments

Comments
 (0)