-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from dlaird-ovo/handle-secrets
Support configSchema so that secrets are marked correctly.
- Loading branch information
Showing
2 changed files
with
39 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
export interface Config { | ||
slack: { | ||
/** | ||
* | ||
* This is required if you're using a Slack webhook URL to send messages and you | ||
* don't intend to supply the webhook URL from the action inputs. | ||
* | ||
* @visibility secret | ||
*/ | ||
webhookUrl?: string; | ||
/** | ||
* | ||
* These are required if you are using the Slack API to send messages and you | ||
* don't intend to supply these from the action inputs. | ||
* | ||
* @visibility secret | ||
*/ | ||
token?: string; | ||
/** | ||
* | ||
* The ID of the conversation to send messages to. Either this or the conversationName | ||
* are required here if you don't intend to supply either from the action inputs. | ||
* | ||
* @visibility backend | ||
*/ | ||
conversationId?: string; | ||
/** | ||
* The name of the conversation to send messages to. Either this or the conversationId | ||
* are rqeuired here if you don't intend to supply either from the action inputs. | ||
* | ||
* @visibility backend | ||
*/ | ||
conversationName?: string; | ||
}; | ||
}; |
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 |
---|---|---|
|
@@ -43,6 +43,8 @@ | |
"winston": "^3.10.0" | ||
}, | ||
"files": [ | ||
"dist" | ||
] | ||
"dist", | ||
"config.d.ts" | ||
], | ||
"configSchema": "config.d.ts" | ||
} |