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

Update setup instructions #46

Open
LinqLover opened this issue Mar 17, 2021 · 3 comments
Open

Update setup instructions #46

LinqLover opened this issue Mar 17, 2021 · 3 comments

Comments

@LinqLover
Copy link

There appear to have been some recent changes to Slack API, however, the "Bot users" page mentioned in the setup instructions does not exist any longer. Still, I managed to create a bot, but when running the action, it says "Slack channel <my_channel> could not be found".

Could you maybe provide an up-to-date description of how to set up the bot & how to retrieve the right token? :)

@zhangcz828
Copy link

Any update for this? I got the same problem, no "Bot users" now, could we support the webhook url?

@LinqLover
Copy link
Author

Hi @zhangcz828, I was able to get Slack notifications working using this action instead: https://github.com/marketplace/actions/slack-notify

@kylelee24
Copy link

The instructions are outdated for the Slack bot token configuration.

  • In the Slack API console, you need to create a new application.
  • You need to set permissions as per the document where I gave it chat:write channels:read and groups:read (as I used the channel/group name not ID). On the permissions page, ensure that you copy the Bot User OAuth token for later use. This will be used in Github actions. There are app-level tokens you can create, but it doesn't seem to work.
  • Install to your workspace.
  • Set the display information - choose a name, description, icon, background colour.
  • In your desired channel, invite the new App. Type /invite and choose Add apps to the channel.

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

3 participants