Skip to content

Commit ed23ea6

Browse files
feat: restore branch workflow trigger
1 parent 23d2799 commit ed23ea6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/build-on-branch.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ on:
1010
- kubernetes-manifests/**
1111
- skaffold.yaml
1212
- src/**
13-
pull_request_target:
14-
13+
1514
workflow_call:
1615
secrets:
1716
SNYK_API_TOKEN:
@@ -23,7 +22,6 @@ env:
2322

2423
jobs:
2524
snyk:
26-
if: github.event_name == 'pull_request_target'
2725
uses: ./.github/workflows/snyk.yaml
2826
permissions:
2927
security-events: write
@@ -33,8 +31,7 @@ jobs:
3331
SNYK_API_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
3432

3533
build-easytrade:
36-
if: github.event_name != 'pull_request_target'
37-
runs-on: ubuntu-24.04
34+
runs-on: ubuntu-24.04
3835
steps:
3936
- name: Checkout repository
4037
uses: actions/checkout@v4

0 commit comments

Comments
 (0)