Skip to content

Commit 1f5a55a

Browse files
Feat/fix pipelines (#13)
* chore(ci): comment out push and pull_request_target triggers in CI workflows * chore(ci): remove push trigger from Docker build workflow * chore(ci): add Go lint workflow for automated code linting and formatting * chore(ci): add pull_request_target trigger for synchronize events in CI workflow
1 parent cc967a1 commit 1f5a55a

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

.github/workflows/build-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name: Build PR
33

44
on:
5-
pull_request_target:
6-
types: [synchronize]
5+
# pull_request_target:
6+
# types: [synchronize]
77
workflow_dispatch:
88
inputs:
99
docker_tag:

.github/workflows/build-master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name: Build master
33

44
on:
5-
push:
6-
branches:
7-
- 'master'
5+
# push:
6+
# branches:
7+
# - 'master'
88
workflow_dispatch:
99

1010
concurrency:

.github/workflows/build-noku.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Build and Deploy Docker Image
22

33
on:
4-
push:
5-
branches:
6-
- main
74
workflow_dispatch:
85
inputs:
96
version_type:
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
name: Go CI Pipeline
1+
name: Go lint Pipeline
22

33
on:
44
push:
55
branches:
66
- master
7-
pull_request:
8-
branches:
9-
- master
7+
pull_request_target:
8+
types: [synchronize]
109
workflow_dispatch:
1110

1211
jobs:

.github/workflows/test-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name: Check PR
33

44
on:
5+
pull_request_target:
6+
types: [synchronize]
57
pull_request:
68
branches: [ "master" ]
79
workflow_dispatch:

0 commit comments

Comments
 (0)