Skip to content

Commit 29f5832

Browse files
committed
Tighten the workflow restrictions and triggers
1 parent 0f34957 commit 29f5832

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/convert_images.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Convert PNG to WebP
22

33
on:
44
push:
5+
branches: [ dev ]
56
paths:
67
- 'images/**/*.png'
78
workflow_dispatch:

.github/workflows/updatejson.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Update json
22
on:
33
push:
4-
branches: [master]
5-
paths-ignore:
6-
- '**/README.md'
7-
- '.github/ISSUE_TEMPLATE/**'
4+
branches: [ dev ]
5+
paths:
6+
- 'database/**'
87
workflow_dispatch:
98

109
jobs:

0 commit comments

Comments
 (0)