mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-04 11:01:40 +00:00
6e2ab644a0
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
name: Update zigbee-frontend
|
|
on:
|
|
repository_dispatch:
|
|
types: update_frontend
|
|
|
|
jobs:
|
|
update_frontend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
ref: dev
|
|
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
- run: npm install zigbee2mqtt-frontend@${{ github.event.client_payload.version }} --save-exact
|
|
- uses: peter-evans/create-pull-request@v4
|
|
id: cpr
|
|
with:
|
|
commit-message: Update zigbee2mqtt-frontend to ${{ github.event.client_payload.version }}
|
|
branch: "update_frontend"
|
|
title: Update zigbee-frontend to ${{ github.event.client_payload.version }}
|
|
- run: sleep 5 # Otherwise pull request may not exist yet causing automerge to fail
|
|
- uses: peter-evans/enable-pull-request-automerge@v2
|
|
if: steps.cpr.outputs.pull-request-operation == 'created'
|
|
with:
|
|
token: ${{ secrets.CR_PAT }}
|
|
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
|
|
merge-method: squash
|