We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84068d3 commit 803a1aaCopy full SHA for 803a1aa
.github/workflows/build-on-branch.yaml
@@ -11,7 +11,6 @@ on:
11
- skaffold.yaml
12
- src/**
13
pull_request_target:
14
- types: [opened, synchronize, reopened]
15
16
workflow_call:
17
secrets:
@@ -23,8 +22,8 @@ env:
23
22
SKAFFOLD_VERSION: 2.13.2
24
25
jobs:
26
-
27
snyk:
+ if: github.event_name == 'pull_request_target'
28
uses: ./.github/workflows/snyk.yaml
29
permissions:
30
security-events: write
@@ -34,6 +33,7 @@ jobs:
34
33
SNYK_API_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
35
36
build-easytrade:
+ if: github.event_name == 'push'
37
runs-on: ubuntu-24.04
38
steps:
39
- name: Checkout repository
0 commit comments