docs: showcase updated use cases in example workflows#376
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #376 +/- ##
=======================================
Coverage 99.70% 99.70%
=======================================
Files 6 6
Lines 669 669
=======================================
Hits 667 667
Misses 2 2 ☔ View full report in Codecov by Sentry. |
| @@ -0,0 +1,40 @@ | |||
| # Technique 2: Slack API method | |||
|
|
|||
| A bot token or user token or [token of some other kind][tokens] must be used to | |||
There was a problem hiding this comment.
wait, so any kind of token is fair game?
There was a problem hiding this comment.
Yep! What'ever's passed in here is sent with the API method used 🔍
| text: | ||
| type: "mrkdwn" | ||
| text: "<https://example.com|Overlook Hotel> \\n :star: \\n Doors had too many axe holes, guest in room 237 was far too rowdy, whole place felt stuck in the 1920s." | ||
| text: "<https://example.com|*Overlook Hotel*> :star: \n Doors had too many axe holes, guest in room 237 was far too rowdy, whole place felt stuck in the 1920s." |
| fields: | ||
| - type: "mrkdwn" | ||
| text: "*Average Rating*\\n1.0" | ||
| text: "*Average Rating*: 1.0" |
There was a problem hiding this comment.
but the viewssssss
There was a problem hiding this comment.
Not so much to see when you're lost in maze! 🦔 ⭐
lukegalbraithrussell
left a comment
There was a problem hiding this comment.
left some feedback! readme's look great, nothing blocking
Co-authored-by: Luke Russell <31357343+lukegalbraithrussell@users.noreply.github.com>
lukegalbraithrussell
left a comment
There was a problem hiding this comment.
readmes look good! let's explore getting this on the tools site next year
|
@lukegalbraithrussell Thanks for both a review and great suggestions 🙏 ✨ Uploading this to tools.slack.dev sounds so helpful for organizing these pages! I await this with excitement 👾 I reran the included examples and am feeling like we can merge these! I'm open to following up with changes of fixes of course, but in this moment this seems to work well 🚀 |
Summary
This PR updates the example workflows included with this action, and focuses these on common cases 📚
Closes: #158, #270, #349, #361
Preview
Changes in progress: https://github.com/slackapi/slack-github-action/tree/zimeg-docs-examples/example-workflows
Reviewers
All of these workflows have been tested in real GitHub Actions workflows! Including the release
announcements!Please feel free to review these, but I'd like to request specific reviews for the
README.mddocuments included with techniques 🙏 ✨Requirements