@cryptotaxi247 / netdata-1 / commits / dd67a12d1

Remove on pull_request trigger (#12670)

Dimitris Koutsourelis committed Apr 12, 2022 at 13:48 UTC dd67a12d149d11a001dd7910477a7271f0ea7a78
1 file changed +1 -11
.github/workflows/cloud_regression.yml
+1 -11
@@ -10,16 +10,6 @@ on:
10 - '**.h'
11 - 'mqtt_websockets/**'
12 - 'aclk/aclk-schemas/**'
13 - pull_request_target:
14 - branches: [master]
15 - paths:
16 - - 'CMakeLists.txt'
17 - - '**.c'
18 - - '**.cc'
19 - - '**.cpp'
20 - - '**.h'
21 - - 'mqtt_websockets/**'
22 - - 'aclk/aclk-schemas/**'
13 jobs:
14 trigger_cloud_regression_tests:
15 runs-on: ubuntu-latest
@@ -31,7 +21,7 @@ jobs:
21 PR_COMMIT_HASH: ${{ github.event.pull_request.head.sha }}
22 id: output-workflow-dispatch-params
23 run: |
34 - if [ ${{ github.event_name }} == 'pull_request' ]; then
24 + if [ ${{ github.event_name }} == 'pull_request_target' ]; then
25 NETDATA_CUSTOM_REPO="$PR_REPO_NAME"
26 NETDATA_CUSTOM_BRANCH="$PR_BRANCH_NAME"
27 NETDATA_CUSTOM_PR_NUMBER="${{ github.event.number }}"