thomasmichaelwallace/Slack Monorepo CI/CD Post
Post CI/CD result from a monorepo (Lerna) built to Slack
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| status | job status as "success" or "failure" | yes | — |
| scopes | built scopes as a json string in the form { "scope": ["@org/name-1", "@org/name-2"] } | yes | — |
| version | if provided, the version will be reported as built, instead of the commit messages | no | — |
| userIds | json string map of github actor logins to slack user ids, e.g. { "github-cat": "u123456" } | yes | ${SLACK_USER_ID_MAP} |
| conversationId | conversation id to send notification to | yes | ${SLACK_CONVERSATION_ID} |
| slackToken | slack bot user oauth access token | yes | ${SLACK_BOT_TOKEN} |
| repository | repository to report built | yes | ${{ github.repository }} |
| stage | stage/job that has completed | yes | ${{ github.workflow }} |
| commits | commit messages as a json string array, e.g. ["message one", "message two"] | yes | ${{ toJson(github.event.commits.*.message) }} |
| runUrl | url for this current run | yes | https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} |
| sourceUrl | url for the source used in this current run | yes | ${{ github.event.compare }} |
| username | username for the user that started this run | yes | ${{ github.actor }} |
Outputs
no outputs