Skip to content

Commit 2441795

Browse files
committed
Only build OAS variants if push is to main
1 parent b6d94be commit 2441795

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/stage-3-build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757

5858
artefact-oas-spec:
5959
name: "Build OAS spec (${{ matrix.apimEnv }})"
60+
if: (github.event_name == 'push' && github.ref == 'refs/heads/main')
6061
runs-on: ubuntu-latest
6162
needs: [artefact-jekyll-docs]
6263
timeout-minutes: 10

0 commit comments

Comments
 (0)