Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
change name to simple-slack-notify and bump version to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkdean committed Jul 31, 2020
1 parent 1368b35 commit a2f09e9
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 31 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# slack-notify
# Simple Slack Notify

[![Latest Stable Version](https://img.shields.io/packagist/v/adamkdean/slack-notify?label=version)](https://packagist.org/packages/adamkdean/slack-notify) [![Release date](https://img.shields.io/github/release-date/adamkdean/slack-notify)](https://packagist.org/packages/adamkdean/slack-notify) [![License](https://img.shields.io/packagist/l/adamkdean/slack-notify)](https://packagist.org/packages/adamkdean/slack-notify) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)

Slack notification action that doesn't suck
Slack notification action that just works

## Introduction

Expand All @@ -21,7 +21,7 @@ The simplest use would consist of relying on the webook's defaults and simply pr

```
- name: Simple notification
uses: adamkdean/slack-notify@master
uses: adamkdean/simple-slack-notify@master
with:
text: 'This is the simplest notification'
```
Expand All @@ -30,7 +30,7 @@ Overriding the channel is sometimes needed, such as to separate out builds, depl

```
- name: Channel specific notification
uses: adamkdean/slack-notify@master
uses: adamkdean/simple-slack-notify@master
with:
channel: '#alerts'
text: 'Something is happening and someone should probably panic'
Expand All @@ -42,7 +42,7 @@ You can use `danger`, `warning`, `good`, or a hex code such as `#d90000`.

```
- name: Panic inducing notification
uses: adamkdean/slack-notify@master
uses: adamkdean/simple-slack-notify@master
with:
channel: '#alerts'
text: 'Something is happening and someone should probably panic'
Expand All @@ -53,7 +53,7 @@ Perhaps you also want to change the username?

```
- name: Panic Bot notification
uses: adamkdean/slack-notify@master
uses: adamkdean/simple-slack-notify@master
with:
channel: '#alerts'
username: 'Panic Bot'
Expand All @@ -65,7 +65,7 @@ The action also supports fields, but due to the limitations of GitHub actions on

```
- name: Specifying what to panic about notification
uses: adamkdean/slack-notify@master
uses: adamkdean/simple-slack-notify@master
with:
channel: '#alerts'
username: 'Panic Bot'
Expand All @@ -79,7 +79,7 @@ If there were multiple reasons to panic, you'd add more objects to the fields ar

```
- name: Specifying what to panic about notification
uses: adamkdean/slack-notify@master
uses: adamkdean/simple-slack-notify@master
with:
channel: '#alerts'
username: 'Panic Bot'
Expand All @@ -94,7 +94,7 @@ Did you notice that some JavaScript snook in? Input strings are evaluated as a J

```
- name: Environment variable notification
uses: adamkdean/slack-notify@master
uses: adamkdean/simple-slack-notify@master
with:
channel: '#example'
text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) has finished'
Expand All @@ -108,7 +108,7 @@ Now, each job has a status, which can be `success`, `failed`, or `cancelled`. Mo
```
- name: Build notification
if: always()
uses: adamkdean/slack-notify@master
uses: adamkdean/simple-slack-notify@master
with:
channel: '#builds'
status: ${{ job.status }}
Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Slack Notify'
description: "Slack Notification action that doesn't suck"
name: 'Simple Slack Notify'
description: "Slack notification action that just works"
branding:
icon: 'slack'
icon: 'message-circle'
color: 'purple'
runs:
using: 'node12'
Expand Down
14 changes: 8 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2961,12 +2961,14 @@ module.exports = function httpAdapter(config) {
/***/ 676:
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {

// ___ _ _ _ _ _ _ __
// / __| |__ _ __| |__ | \| |___| |_(_)/ _|_ _
// \__ \ / _` / _| / / | .` / _ \ _| | _| || |
// |___/_\__,_\__|_\_\ |_|\_\___/\__|_|_| \_, |
// |__/
// Slack notification action that doesn't suck
// ___ _ _
// / __(_)_ __ _ __| |___
// \__ \ | ' \| '_ \ / -_)
// ___ |___/_|_|_|_| .__/_\___| _ _ __
// / __| |__ _ __| ||_|| \| |___| |_(_)/ _|_ _
// \__ \ / _` / _| / / | .` / _ \ _| | _| || |
// |___/_\__,_\__|_\_\ |_|\_\___/\__|_|_| \_, |
// Slack notification action that just works |__/
// Copyright 2020 Adam K Dean <[email protected]>

const core = __webpack_require__(470)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slack-notify",
"version": "1.0.0",
"description": "Slack notification action that doesn't suck",
"name": "simple-slack-notify",
"version": "1.0.1",
"description": "Slack notification action that just works",
"author": "Adam K Dean <[email protected]>",
"license": "MIT",
"keywords": [
Expand All @@ -13,7 +13,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/adamkdean/slack-notify.git"
"url": "git+https://github.com/adamkdean/simple-slack-notify.git"
},
"main": "dist/index.js",
"scripts": {
Expand Down
14 changes: 8 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
// ___ _ _ _ _ _ _ __
// / __| |__ _ __| |__ | \| |___| |_(_)/ _|_ _
// \__ \ / _` / _| / / | .` / _ \ _| | _| || |
// |___/_\__,_\__|_\_\ |_|\_\___/\__|_|_| \_, |
// |__/
// Slack notification action that doesn't suck
// ___ _ _
// / __(_)_ __ _ __| |___
// \__ \ | ' \| '_ \ / -_)
// ___ |___/_|_|_|_| .__/_\___| _ _ __
// / __| |__ _ __| ||_|| \| |___| |_(_)/ _|_ _
// \__ \ / _` / _| / / | .` / _ \ _| | _| || |
// |___/_\__,_\__|_\_\ |_|\_\___/\__|_|_| \_, |
// Slack notification action that just works |__/
// Copyright 2020 Adam K Dean <[email protected]>

const core = require('@actions/core')
Expand Down

0 comments on commit a2f09e9

Please sign in to comment.