From 350ec1776e915a8193c0996b232ec1fd4de05f7e Mon Sep 17 00:00:00 2001 From: John Doe Date: Fri, 20 Nov 2020 06:01:19 +0800 Subject: [PATCH 1/3] Update update_frontend.yml (#5021) --- .github/workflows/update_frontend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_frontend.yml b/.github/workflows/update_frontend.yml index 958b7a0b..7d11892d 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" From 4978d09eb1e18bf7e83a15e8087b2fe226e069bd Mon Sep 17 00:00:00 2001 From: John Doe Date: Fri, 20 Nov 2020 06:15:26 +0800 Subject: [PATCH 2/3] Update peter-evans/create-pull-request to v3 (#5025) --- .github/workflows/update_deps.yml | 2 +- .github/workflows/update_zh.yml | 2 +- .github/workflows/update_zhc.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_deps.yml b/.github/workflows/update_deps.yml index cf408673..3650fd24 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_zh.yml b/.github/workflows/update_zh.yml index 4ca6a2ff..5c4e34dd 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 3de3921b..aedc9ae2 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" From cb9699e12abffcfa97a7a4add40275d5a00827f8 Mon Sep 17 00:00:00 2001 From: Marius Date: Tue, 24 Nov 2020 10:59:36 +0200 Subject: [PATCH 3/3] Automatic edge build trigger for zigbee2mqtt org (#5068) Automatic edge build trigger for zigbee2mqtt/hassio-zigbee2mqtt --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b11a9673..a7f5b8a6 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"