-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,28 @@ | ||
export const config: Config = { | ||
profiles: [ | ||
{ | ||
description: "Accessbot Test", | ||
attribute: "custom:accessbotTester", | ||
// You can use this example config to test approvals with your own user. | ||
// | ||
// If you enter your own user as the approver, you will still be asked to | ||
// to approve it, which is not the default behaviour. | ||
description: "Accessbot Test: Review", | ||
attribute: "custom:accessbotTestReview", | ||
canSelfApprove: true, | ||
confirmSelfApproval: true, | ||
}, | ||
{ | ||
attribute: "custom:prodAccess", | ||
description: "Production", | ||
notifyChannel: "C06TH49GKHC", | ||
attribute: "custom:accessbotTest", | ||
description: "Accessbot Test: Select Users", | ||
canSelfApprove: true, | ||
approverEmails: [ | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
], | ||
}, | ||
{ | ||
attribute: "custom:stagingAccess", | ||
description: "Staging", | ||
notifyChannel: "C06TH49GKHC", | ||
canSelfApprove: true, | ||
}, | ||
{ | ||
attribute: "custom:bust", | ||
description: "Only unrecognised reviewers", | ||
notifyChannel: "C06TH49GKHC", | ||
canSelfApprove: false, | ||
approverEmails: [ | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", // :( | ||
// Enter some email addresses here. | ||
"[email protected]", | ||
], | ||
// You can send announcements of approvals to a Slack channel. | ||
// Navigate to the channel in Slack, then click the channel name above the | ||
// chat and in the window that opens, select the About tab. The channel ID | ||
// is available at the bottom of this window. | ||
// notifyChannel: "C06TH49GKHC", | ||
}, | ||
], | ||
}; | ||
|