From a51626e357f923bd3b63c60a212b48cea04afe35 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Fri, 19 Nov 2021 19:51:14 +0100 Subject: [PATCH] Add sleep before enable-pull-request-automerge --- .github/workflows/update_frontend.yml | 1 + .github/workflows/update_zh.yml | 1 + .github/workflows/update_zhc.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/update_frontend.yml b/.github/workflows/update_frontend.yml index 3c521fe9c..a6d60946b 100644 --- a/.github/workflows/update_frontend.yml +++ b/.github/workflows/update_frontend.yml @@ -21,6 +21,7 @@ jobs: 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@v1 if: steps.cpr.outputs.pull-request-operation == 'created' with: diff --git a/.github/workflows/update_zh.yml b/.github/workflows/update_zh.yml index 4223e9c9e..03e7f725a 100644 --- a/.github/workflows/update_zh.yml +++ b/.github/workflows/update_zh.yml @@ -21,6 +21,7 @@ jobs: commit-message: Update zigbee-herdsman to ${{ github.event.client_payload.version }} branch: "update_zh" title: Update zigbee-herdsman 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@v1 if: steps.cpr.outputs.pull-request-operation == 'created' with: diff --git a/.github/workflows/update_zhc.yml b/.github/workflows/update_zhc.yml index 02e0379cf..0bab3d345 100644 --- a/.github/workflows/update_zhc.yml +++ b/.github/workflows/update_zhc.yml @@ -21,6 +21,7 @@ jobs: 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 }} + - run: sleep 5 # Otherwise pull request may not exist yet causing automerge to fail - uses: peter-evans/enable-pull-request-automerge@v1 if: steps.cpr.outputs.pull-request-operation == 'created' with: