summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2020-06-04 08:23:23 -0400
committerNicoleYarroch <nicole@livio.io>2020-06-04 08:23:23 -0400
commitd5c9ad8b818261b58644498c87cf0d44ce25c949 (patch)
tree0a59688887bb1ac692f57f6be8acfddc98014cad
parentd15fc4d3b640e426e0f6e04966e5ff887ebb7898 (diff)
downloadsdl_ios-d5c9ad8b818261b58644498c87cf0d44ce25c949.tar.gz
Fixed “on” webhook
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r--.github/workflows/test.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ed44c9c1d..2bf9afc23 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -2,12 +2,14 @@ name: SmartDeviceLink Tests
# This workflow is triggered on a push or pull request.
on:
- # Runs the workflow when someone pushes to a repository branch, which triggers the push event.
- push:
-
- # Runs the workflow only when someone opens or reopens a pull request (there are a bunch of activity types that can trigger a workflow that we don't want - like labeling, assigning, and locking the PR). This prevents two workflows from being triggered when a push is made to a pull request branch because the pull request activity type of "synchronize" also triggers another, separate, workflow.
- pull_request:
- types: [opened, reopened]
+ # Runs the workflow when someone pushes to any repository branch.
+ - push
+ # Runs the workflow only when someone opens a pull request (there are a bunch of activity types that can trigger a workflow that we don't want - like labeling, assigning, and locking the PR). The "push" trigger will generate a new workflow if a push is made to a pull request branch.
+ - pull_request:
+ types: [opened]
+ - schedule:
+ branch: master
+ cron: '5 * * * *' # runs every 5 minutes
env:
PROJECT: 'SmartDeviceLink-iOS.xcodeproj'