FIX: use Assigner instead of TopicAssigner (#30)

FIX: use Assigner instead of TopicAssigner (#30)

In that PR FEATURE: Assignment target is polymorphic by lis2 · Pull Request #218 · discourse/discourse-assign · GitHub TopicAssigner class was renamed to Assigner

diff --git a/.github/workflows/plugin-tests.yml b/.github/workflows/plugin-tests.yml
index a5eff7c..e1d15bf 100644
--- a/.github/workflows/plugin-tests.yml
+++ b/.github/workflows/plugin-tests.yml
@@ -57,6 +57,13 @@ jobs:
           path: plugins/${{ github.event.repository.name }}
           fetch-depth: 1
 
+      - name: Install discourse-assign
+        uses: actions/checkout@v2
+        with:
+          repository: discourse/discourse-assign
+          path: plugins/discourse-assign
+          fetch-depth: 1
+
       - name: Setup Git
         run: |
           git config --global user.email "ci@ci.invalid"
diff --git a/app/jobs/regular/process_alert.rb b/app/jobs/regular/process_alert.rb
index 74ef5e6..8b80d6b 100644
--- a/app/jobs/regular/process_alert.rb
+++ b/app/jobs/regular/process_alert.rb
@@ -137,7 +137,7 @@ module Jobs
       return unless SiteSetting.prometheus_alert_receiver_enable_assign
 
       if assignee
-        TopicAssigner.new(topic, Discourse.system_user).assign(assignee)
+        Assigner.new(topic, Discourse.system_user).assign(assignee)
       end
     end
   end

GitHub sha: b2d79f54705256690712500b764ecedca5f738f6

This commit appears in #30 which was approved by SamSaffron. It was merged by lis2.