From 0b6cbdb542d15b588128428e1e373320437776e9 Mon Sep 17 00:00:00 2001
From: Jan De Dobbeleer <jan.de.dobbeleer@gmail.com>
Date: Fri, 28 Apr 2023 08:35:26 +0200
Subject: [PATCH] chore: adjust import with wrapper

---
 .github/workflows/social.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/social.yml b/.github/workflows/social.yml
index 6fabe03d..b22d1154 100644
--- a/.github/workflows/social.yml
+++ b/.github/workflows/social.yml
@@ -1,6 +1,4 @@
-# <a rel="me" href="https://social.ohmyposh.dev/@releasebot">Mastodon</a>
-
-name: Mastodon
+name: Social
 on:
   release:
     types: [published]
@@ -28,8 +26,7 @@ jobs:
         uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
         with:
           script: |
-            import pkg from '@atproto/api';
-            const { BskyAgent } = pkg;
+            const { BskyAgent } = require('@atproto/api')
 
             const agent = new BskyAgent({ service: 'https://bsky.social' })
             await agent.login({identifier: '${{ secrets.BLUESKY_IDENTIFIER }}', password: '${{ secrets.BLUESKY_PASSWORD }}'})