zigbee2mqtt/.github/workflows/update_zhc.yml

23 lines
726 B
YAML
Raw Normal View History

2020-07-16 10:29:47 -07:00
name: Update zigbee-herdsman-converters
on:
repository_dispatch:
types: update_zhc
jobs:
update_zhc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: dev
2020-07-18 14:03:33 -07:00
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
2020-07-16 10:29:47 -07:00
- uses: actions/setup-node@v2-beta
with:
node-version: 12
2020-07-16 11:32:47 -07:00
- run: npm install zigbee-herdsman-converters@${{ github.event.client_payload.version }} --save-exact
2020-07-16 10:29:47 -07:00
- uses: peter-evans/create-pull-request@v2
with:
commit-message: Update zigbee-herdsman-converters to ${{ github.event.client_payload.version }}
branch: "update_zhc"
title: Update zigbee-herdsman-converters to ${{ github.event.client_payload.version }}