Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slab-release-push-action needs update to reflect updates to Slab API #4

Open
elkskim opened this issue Sep 21, 2022 · 0 comments
Open

Comments

@elkskim
Copy link
Contributor

elkskim commented Sep 21, 2022

What's the issue?

  • The Slab API has recently been updated to properly implement mutations for creating/updating posts with content in a meaningful way.

What's the fix?

  • Seeing as the slab-release-push-action uses the syncPost mutation to create and update posts, a large percentage of the code will have to be refactored to use createPost and updatePostContent instead.

Are we in a hurry?

  • Seemingly not. There's no reason to believe that the action is not functional as is, but refactoring it to use the intended mutations in the API should make the script somewhat more efficient and readable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant