On root directory:
cp examples/config.dev.toml config.toml
Replace values of token
, botToken
and appToken
in config.toml
. Then:
go run ./cmd/github-actions-manager -config config.toml -loglevel DEBUG
-
Setup Reverse Proxy by following the Notion Guide.
-
Go to
Webhook
tab ofSettings
page of a Repository with Action Runner Setup (e.g. https://github.com/oursky/github-actions-manager/settings). PressAdd webhook
. -
Fill in
Payload URL
with the reverse proxy URL according to the Notion Guide. -
Fill in
Secret
with the same value ofwebhookSecret
inconfig.toml
. -
Select
Send me everything.
inWhich events would you like to trigger this webhook?
. -
Save Webhook
-
On Slack Portal https://api.slack.com/apps, press
Create New App
and selectFrom scratch
-
Enable
Slash Commands
andBots
onAdd features and functionality
. -
Enable Socket Mode on
Socket Mode
. -
Add
/gha
toSlash Commands
. -
Add an access token on
App-Level Tokens
, copy the value toappToken
inconfig.toml
. -
Install the app to workspace on
OAuth & Permissions
and copyBot User OAuth Token
tobotToken
inconfig.toml
. Also make sure to add scopechat:write
toBot Token Scopes
. -
Integrate app on the channel