File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,12 @@ name: MCP builds
22on :
33 push :
44 branches : [ main ]
5+ paths :
6+ - ' mcp-servers/**'
57 pull_request :
68 branches : [ main ]
7- workflow_dispatch :
9+ paths :
10+ - ' mcp-servers/**'
811
912jobs :
1013 ansible :
1518 uses : actions/checkout@v4
1619
1720 - name : login to quay.io
21+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
1822 uses : docker/login-action@v3
1923 with :
2024 registry : quay.io
4044 uses : actions/checkout@v4
4145
4246 - name : login to quay.io
47+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
4348 uses : docker/login-action@v3
4449 with :
4550 registry : quay.io
6469 uses : actions/checkout@v4
6570
6671 - name : login to quay.io
72+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
6773 uses : docker/login-action@v3
6874 with :
6975 registry : quay.io
8894 uses : actions/checkout@v4
8995
9096 - name : login to quay.io
97+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
9198 uses : docker/login-action@v3
9299 with :
93100 registry : quay.io
You can’t perform that action at this time.
0 commit comments