Skip to content

Add support for config file#206

Merged
satterly merged 1 commit intomasterfrom
add-config-file
Oct 29, 2021
Merged

Add support for config file#206
satterly merged 1 commit intomasterfrom
add-config-file

Conversation

@satterly
Copy link
Copy Markdown
Contributor

@satterly satterly commented Oct 29, 2021

Example .github/slack.yml

username: GitHub-CI
icon_url: 'https://octodex.github.com/images/mona-the-rivetertocat.png'

text: |
  *<{{workflowUrl}}|Workflow _{{workflow}}_ job _{{jobName}}_ triggered by _{{eventName}}_ is _{{jobStatus}}_>* for <{{refUrl}}|`{{ref}}`>
  {{#if title}}<{{diffUrl}}|`{{diffRef}}`> - {{title}}{{/if}}

fallback: |-
  {{workflow}} {{jobName}} is {{jobStatus}}

footer: >-
  <{{repositoryUrl}}|{{repositoryName}}> {{workflow}} #{{runNumber}}

colors:
  success: '#5DADE2'
  failure: '#884EA0'
  cancelled: '#A569BD'

icons:
  success: ':white_check_mark:'
  failure: ':grimacing:'
  cancelled: ':x:'
  skipped: ':heavy_minus_sign:'
  default: ':interrobang:'

@satterly
Copy link
Copy Markdown
Contributor Author

Screenshot 2021-10-29 at 20 34 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant