Skip to content

Commit 19c54a4

Browse files
committed
ci: configure triggers for PRs and main branch only
1 parent 3ef53b4 commit 19c54a4

File tree

5 files changed

+23
-22
lines changed

5 files changed

+23
-22
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
pull_request:
5-
branches: ["*"]
5+
branches: ["**"]
66
push:
77
branches: ["main"]
88
merge_group:

.github/workflows/docker.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: DockerHub
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
paths:
8-
- apps/relay/package.json
9-
- .github/workflows/docker.yaml
4+
workflow_dispatch:
5+
# push:
6+
# branches:
7+
# - main
8+
# paths:
9+
# - apps/relay/package.json
10+
# - .github/workflows/docker.yaml
1011

1112
env:
1213
REGISTRY: docker.io

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Release
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
workflow_dispatch: # for manual triggering
4+
workflow_dispatch:
5+
# push:
6+
# branches:
7+
# - main
88

99
permissions:
1010
id-token: write # Required for OIDC trusted publishing

.github/workflows/socket.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ name: socket-security-workflow
66
run-name: Socket Security Github Action
77

88
on:
9-
push:
10-
branches: ["**"] # Run on all branches, all commits
9+
workflow_dispatch:
1110
pull_request:
1211
types: [opened, synchronize, reopened]
1312
issue_comment:

.github/workflows/web-build.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
name: Web Build
22

33
on:
4-
pull_request:
5-
branches: ["*"]
6-
paths:
7-
- "apps/web/**"
8-
push:
9-
branches: ["main"]
10-
paths:
11-
- "apps/web/**"
12-
merge_group:
4+
workflow_dispatch:
5+
# pull_request:
6+
# branches: ["*"]
7+
# paths:
8+
# - "apps/web/**"
9+
# push:
10+
# branches: ["main"]
11+
# paths:
12+
# - "apps/web/**"
13+
# merge_group:
1314

1415
concurrency:
1516
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)