Skip to content

oursky/github-actions-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Actions Manager

Running local development server

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

Receive Webhook on local development server

  1. Setup Reverse Proxy by following the Notion Guide.

  2. Go to Webhook tab of Settings page of a Repository with Action Runner Setup (e.g. https://github.com/oursky/github-actions-manager/settings). Press Add webhook.

  3. Fill in Payload URL with the reverse proxy URL according to the Notion Guide.

  4. Fill in Secret with the same value of webhookSecret in config.toml.

  5. Select Send me everything. in Which events would you like to trigger this webhook?.

  6. Save Webhook

Connect Slack App to local development server

  1. On Slack Portal https://api.slack.com/apps, press Create New App and select From scratch

  2. Enable Slash Commands and Bots on Add features and functionality.

  3. Enable Socket Mode on Socket Mode.

  4. Add /gha to Slash Commands.

  5. Add an access token on App-Level Tokens, copy the value to appToken in config.toml.

  6. Install the app to workspace on OAuth & Permissions and copy Bot User OAuth Token to botToken in config.toml. Also make sure to add scope chat:write to Bot Token Scopes .

  7. Integrate app on the channel

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages 3