Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/jenkins-driver-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
pull_request_target:
paths:
- 'drivers/**'
# todo: Remove pull_request before merging
pull_request:
paths:
- 'drivers/**'

jobs:
trigger-driver-test:
Expand Down Expand Up @@ -40,6 +44,7 @@ jobs:
-H "Authorization: Bearer ${JENKINS_WEBHOOK_TOKEN}" \
-d "{\"status_url\": \"$STATUS_URL\",
\"version\": ${{ matrix.version }},
\"commit\": ${{ github.event.pull_request.head.sha }} }" \
\"commit\": \"bad_id_to_fail\",
\"pr_id\": ${{ github.event.number }} }" \
"${JENKINS_WEBHOOK_URL}"
set -x
2 changes: 2 additions & 0 deletions drivers/SmartThings/zigbee-switch/src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ local SIMPLE_METERING_ID = 0x0702
local ELECTRICAL_MEASUREMENT_ID = 0x0B04
local version = require "version"

-- Change in a driver 2

local lazy_handler
if version.api >= 15 then
lazy_handler = require "st.utils.lazy_handler"
Expand Down
Loading