Skip to content

Commit

Permalink
Tidy example config
Browse files Browse the repository at this point in the history
  • Loading branch information
icio committed May 16, 2024
1 parent c51ea87 commit 95414ec
Showing 1 changed file with 15 additions and 28 deletions.
43 changes: 15 additions & 28 deletions config.ts
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",
},
],
};
Expand Down

0 comments on commit 95414ec

Please sign in to comment.