From 4b0baaf049e5f74b9ada55a5e9fca924677b6526 Mon Sep 17 00:00:00 2001
From: Johannes Meyer <johannes.meyer@icinga.com>
Date: Thu, 16 Dec 2021 08:50:35 +0100
Subject: [PATCH] automatic-merge: Use the icingabot's token to trigger
 workflows

---
 .github/workflows/automatic-merge.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/automatic-merge.yml b/.github/workflows/automatic-merge.yml
index 3b85c068..70351d66 100644
--- a/.github/workflows/automatic-merge.yml
+++ b/.github/workflows/automatic-merge.yml
@@ -13,9 +13,9 @@ jobs:
 
     steps:
       - name: Merge ready PRs
-        uses: pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a
+        uses: pascalgn/automerge-action@v0.14.3
         env:
-          GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+          GITHUB_TOKEN: "${{ secrets.ICINGABOT_TOKEN }}"
           MERGE_LABELS: "automation"
           MERGE_METHOD: "squash"
           MERGE_DELETE_BRANCH: "true"