Skip to content

Commit

Permalink
docs: add SSO to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebonsignori committed Aug 1, 2022
1 parent 3d518b8 commit 61b409f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ An action intended to be run from a scheduled GitHub action that checks all noti
Requires:

1. Access to a [Slack Bot](https://api.slack.com/bot-users) with proper `write` [permissions](https://api.slack.com/scopes) to the [destination](#destination) Slack channel or DM.
2. A user-generated legacy [personal access token](https://github.com/settings/tokens) with the `notifications` scope enabled.
2. A user-generated legacy [personal access token](https://github.com/settings/tokens) with the `notifications` scope enabled and any organization's SSO authorized.

Forwarded notifications can be filtered by their [reason](#reason-filtering), [repository](#repository-filtering), [participation](#filter-only-participating), or [read status](#filter-only-unread).

Expand Down Expand Up @@ -101,6 +101,8 @@ You can use [Crontab.guru](https://crontab.guru/) to find a schedule that works

A legacy [personal access token](https://github.com/settings/tokens) with the `notifications` scope checked. Store thetoken in your repository's secrets and access it in the action as an input, e.g. `${{ secrets.GITHUB_TOKEN }}`.

If you receive notifications for a private organization, you need to authorize that organization's SSO from the tokens page. Select `Configure SSO` and authorize the desired organization(s).

#### `slack-token`

A token for a Slack App that is invited into the [destination](#destination) and has permissions to post there. Store token in your repository's secrets and access it in the action as an input, e.g. `${{ secrets.SLACK_TOKEN }}`.
Expand Down

0 comments on commit 61b409f

Please sign in to comment.