Skip to content

Commit cc6b3e6

Browse files
committed
Only run dev container workflow if necessary
1 parent fe06aa3 commit cc6b3e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/devcontainer.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: Prebuild dev container
22

33
on:
44
push:
5-
branches:
6-
- main
5+
paths:
6+
- .github/workflows/devcontainer.yml
7+
- .github/.devcontainer/**
8+
workflow_dispatch:
79

810
env:
911
REGISTRY: ghcr.io

0 commit comments

Comments
 (0)