From c6725f6f45dc921c78848e1c14e42580a3c1707c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Miclu=C8=9Ba-C=C3=A2mpeanu?=
 <31181429+SebastianM-C@users.noreply.github.com>
Date: Wed, 20 May 2020 15:35:15 +0300
Subject: [PATCH 1/2] Add CompatHelper

---
 .github/workflows/compathelper.yml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 .github/workflows/compathelper.yml

diff --git a/.github/workflows/compathelper.yml b/.github/workflows/compathelper.yml
new file mode 100644
index 0000000..7f6709f
--- /dev/null
+++ b/.github/workflows/compathelper.yml
@@ -0,0 +1,17 @@
+name: CompatHelper
+
+on:
+  schedule:
+    - cron: '00 00 * * *'
+
+jobs:
+  CompatHelper:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Pkg.add("CompatHelper")
+        run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
+      - name: CompatHelper.main()
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
+        run: julia -e 'using CompatHelper; CompatHelper.main()'

From 951ff910bdc2d79c7f5856c0550ad6647c79460f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Miclu=C8=9Ba-C=C3=A2mpeanu?=
 <31181429+SebastianM-C@users.noreply.github.com>
Date: Thu, 21 May 2020 23:06:26 +0300
Subject: [PATCH 2/2] Use DOCUMENTER_KEY

---
 .github/workflows/compathelper.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/compathelper.yml b/.github/workflows/compathelper.yml
index 7f6709f..226f604 100644
--- a/.github/workflows/compathelper.yml
+++ b/.github/workflows/compathelper.yml
@@ -13,5 +13,5 @@ jobs:
       - name: CompatHelper.main()
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
+          COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
         run: julia -e 'using CompatHelper; CompatHelper.main()'