slack-ruby / slack-ruby-client

A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
MIT License
1.19k stars 214 forks source link

Add workflow for automatic API updates #458

Closed duffn closed 1 year ago

duffn commented 1 year ago

This adds a workflow that automatically updates the API from slack-api-ref and creates a running PR with changes per #456.

Notes

Screen Shot 2023-03-25 at 1 25 29 PM

Example

This works here, but it wouldn't surprise me if this didn't quite work as expected after merging here, but can fix forward.

https://github.com/duffn/slack-ruby-client-dev/pull/5

Closes #456

dblock commented 1 year ago

Let's merge and see how it goes!

When there are no changes we get a PR. I think that's the next thing to fix.

duffn commented 1 year ago

Ah yeah, that needs changing. Will see how/if it runs later today and then address any necessary fixes.