Browse Source

Sign .drone.ylm prevent contributes to run un authorized commands

Jaap Marcus 4 years ago
parent
commit
7563cd3a7c
1 changed files with 6 additions and 2 deletions
  1. 6 2
      .drone.yml

+ 6 - 2
.drone.yml

@@ -31,7 +31,7 @@ steps:
   - bats ./test/test.bats
 - name: php-test
   commands: 
-  - ./test/check_php.php
+  - ./test/check_php.sh
 
 trigger:
   event: [ push ]
@@ -72,4 +72,8 @@ steps:
   - ./test/check_php.sh
 
 trigger:
-  event: [ pull_request ]
+  event: [ pull_request ]
+  
+  ---
+  kind: signature
+  hmac: d1d1dce9762039d55ad52a43bd8ba33802fe02e142b850d6a43bd073c70f82a2