Skip to content

Commit e0c0823

Browse files
committed
Tweaking trigger
1 parent 1f5e60a commit e0c0823

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/workflows/build-and-sign-image.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ on:
99
branches:
1010
- "main"
1111

12-
# push:
13-
# branches:
14-
# - "trigger-image-build-and-push-1"
15-
1612
env:
1713
REGISTRY: ghcr.io
1814
IMAGE_NAME: ${{ github.repository }}
1915

2016
jobs:
2117
build_and_sign_image:
18+
if: ${{ github.event.pull_request.merged }}
2219
runs-on: ubuntu-latest
2320
permissions:
2421
contents: read

.github/workflows/go.yml

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ name: Go
66
on:
77
push:
88
branches: [ "main", "*" ]
9-
pull_request:
10-
branches: [ "main" ]
119

1210
jobs:
1311

0 commit comments

Comments
 (0)