Skip to content

Commit cbb65b2

Browse files
committed
Run update metadata workflow only on pushes to main branch
1 parent 4f69e8b commit cbb65b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-metadata.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
# validatedpatterns/docs/.github/workflows/metadata-docs.yml@main
44
---
55
name: Update docs pattern metadata
6-
76
on:
87
push:
98
paths:
109
- "pattern-metadata.yaml"
1110
- ".github/workflows/update-metadata.yml"
11+
branches:
12+
- main
1213

1314
jobs:
1415
update-metadata:

0 commit comments

Comments
 (0)