Skip to content

Commit 60066ed

Browse files
authored
fix: fix precommit container build when push, and only change Dockerfile.precommit (#188)
Signed-off-by: yuluo-yx <[email protected]>
1 parent 0292153 commit 60066ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/precommit-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Create and publish Precommit Image
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
paths:
6+
- 'Dockerfile.precommit'
67
pull_request:
78
paths:
89
- 'Dockerfile.precommit'

0 commit comments

Comments
 (0)