mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-17 10:58:31 -07:00
23 lines
633 B
YAML
23 lines
633 B
YAML
name: Update zigbee-herdsman
|
|
on:
|
|
repository_dispatch:
|
|
types: update_zh
|
|
|
|
jobs:
|
|
update_zh:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: dev
|
|
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
- uses: actions/setup-node@v2-beta
|
|
with:
|
|
node-version: 12
|
|
- run: npm install zigbee-herdsman@${{ github.event.client_payload.version }} --save-exact
|
|
- uses: peter-evans/create-pull-request@v2
|
|
with:
|
|
commit-message: Update zigbee-herdsman to ${{ github.event.client_payload.version }}
|
|
branch: "update_zh"
|
|
title: Update zigbee-herdsman
|