Skip to content

Commit c8e3f81

Browse files
committed
extend condition for "Update dist files" and update dist manually
1 parent 05329e3 commit c8e3f81

File tree

3 files changed

+1364
-4
lines changed

3 files changed

+1364
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
npm install
1616
npm run all
1717
18-
# Update dist files if there is label dependencies
18+
# Update dist files if there is label dependencies or pull request' author is dependabot[bot] (id = 49699333)
1919
- name: Update dist files
20-
if: github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'dependencies')
20+
if: github.event_name == 'pull_request' && (github.event.pull_request.user.id == 49699333 || contains(github.event.pull_request.labels.*.name, 'dependencies'))
2121
run: |
2222
if [[ -z $(git status -s) ]]
2323
then

0 commit comments

Comments
 (0)