diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b11a96733..a7f5b8a6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,4 +76,13 @@ jobs: --header "Content-Type: application/json" \ --data '{"definition": {"id": 1}}' \ -u ${{ secrets.HASSIO_TRIGGER_SECRET }} \ - "https://dev.azure.com/danielwelch2101/hassio-zigbee2mqtt/_apis/build/builds?api-version=5.1" \ No newline at end of file + "https://dev.azure.com/danielwelch2101/hassio-zigbee2mqtt/_apis/build/builds?api-version=5.1" + - name: Trigger zigbee2mqtt/hassio-zigbee2mqtt build + if: github.ref == 'refs/heads/dev' && github.event_name == 'push' + run: | + curl -s \ + --request POST \ + --header "Content-Type: application/json" \ + --data '{"definition": {"id": 9}}' \ + -u ${{ secrets.HASSIO_TRIGGER_SECRET }} \ + "https://dev.azure.com/zigbee2mqtt/Zigbee2mqtt%20Add-on/_apis/build/builds?api-version=5.1" diff --git a/.github/workflows/update_deps.yml b/.github/workflows/update_deps.yml index cf4086730..3650fd240 100644 --- a/.github/workflows/update_deps.yml +++ b/.github/workflows/update_deps.yml @@ -18,7 +18,7 @@ jobs: - run: npm install - run: npm ls --depth 0 --prod --parseable | tail -n +2 | grep -v "zigbee" | xargs -I '{}' basename "{}" | xargs -I '{}' npm install '{}'@latest - run: rm -rf node_modules npm-shrinkwrap.json && npm install && npm shrinkwrap --dev - - uses: peter-evans/create-pull-request@v2 + - uses: peter-evans/create-pull-request@v3 with: commit-message: Update dependencies branch: "update_deps" diff --git a/.github/workflows/update_frontend.yml b/.github/workflows/update_frontend.yml index 958b7a0be..7d11892d0 100644 --- a/.github/workflows/update_frontend.yml +++ b/.github/workflows/update_frontend.yml @@ -15,7 +15,7 @@ jobs: with: node-version: 12 - run: npm install zigbee2mqtt-frontend@${{ github.event.client_payload.version }} --save-exact - - uses: peter-evans/create-pull-request@v2 + - uses: peter-evans/create-pull-request@v3 with: commit-message: Update zigbee2mqtt-frontend to ${{ github.event.client_payload.version }} branch: "update_frontend" diff --git a/.github/workflows/update_zh.yml b/.github/workflows/update_zh.yml index 4ca6a2ff6..5c4e34ddf 100644 --- a/.github/workflows/update_zh.yml +++ b/.github/workflows/update_zh.yml @@ -15,7 +15,7 @@ jobs: with: node-version: 12 - run: npm install zigbee-herdsman@${{ github.event.client_payload.version }} --save-exact - - uses: peter-evans/create-pull-request@v2 + - uses: peter-evans/create-pull-request@v3 with: commit-message: Update zigbee-herdsman to ${{ github.event.client_payload.version }} branch: "update_zh" diff --git a/.github/workflows/update_zhc.yml b/.github/workflows/update_zhc.yml index 3de3921be..aedc9ae27 100644 --- a/.github/workflows/update_zhc.yml +++ b/.github/workflows/update_zhc.yml @@ -15,7 +15,7 @@ jobs: with: node-version: 12 - run: npm install zigbee-herdsman-converters@${{ github.event.client_payload.version }} --save-exact - - uses: peter-evans/create-pull-request@v2 + - uses: peter-evans/create-pull-request@v3 with: commit-message: Update zigbee-herdsman-converters to ${{ github.event.client_payload.version }} branch: "update_zhc"