1. Navigate to your Slack Workspace created in 4.2 Create Slack Channels.
2. Filter with value github
, click Add for GitHub.
3. Click Add to Slack.
4. Click Allow.
5. In your Slack Workspace,
6. Click Connect GitHub account.
7. Copy the verification code.
8. Back to the GitHub app in your Slack Workspace, click Enter code.
9. Enter the code you have copied in the step 7 and click Submit.
10. Enter invite @GitHub
in the gha-ci channel and then click send icon.
11. Click Invite them.
12. Enter /github subscribe fcj-workshops-2024/awsome-books
and then click send icon.
13. Click Install GitHub App.
14. Select fcj-workshops-2024 GitHub organization.
15.
awsome-books
.16. Scroll down to the bottom, click Install.
17. Enter /github subscribe list
and then click send icon.
Your gha-ci Slack channel should now be subscribed to fcj-workshops-2024/awsome-books repository.
19. Unsubscribe the channel from default event subscriptions with /github unsubscribe fcj-workshops-2024/awsome-books issues pulls commits releases deployments
command.
20. Enter /github subscribe fcj-workshops-2024/awsome-books workflows:{name:"CI" event:"pull_request" branch:"main"}
to subscribe to the CI workflow on “pull_request” event. Click the send icon.
21. Apply the same steps (10 to 20) to the gha-merge-group, gha-release, and gha-rollback channels, but you can skip steps 13 through 16 for these.
In the step 20,
/github subscribe fcj-workshops-2024/awsome-books workflows:{name:"CI" event:"merge_group"}
to subscribe to the CI workflow on “merge_group” event./github subscribe fcj-workshops-2024/awsome-books workflows:{name:"Release" event:"push"}
to subscribe to the Release workflow on “push” event./github subscribe fcj-workshops-2024/awsome-books workflows:{name:"Rollback" event:"workflow_dispatch"}
to subscribe to the Rollback workflow on “workflow_dispatch” event.