Skip to content

Commit

Permalink
Merge pull request #3 from cemkiy/develop
Browse files Browse the repository at this point in the history
repo name change
  • Loading branch information
cemkiy authored Nov 21, 2019
2 parents c05279d + 307439d commit 8c2a2a2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
if: success()
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
uses: cemkiy/action-islack@master
uses: cemkiy/action-slacker@master
with:
channel: '#team-devops'
username: 'github'
Expand All @@ -27,7 +27,7 @@ jobs:
if: failure()
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
uses: cemkiy/action-islack@master
uses: cemkiy/action-slacker@master
with:
channel: '#team-devops'
username: 'github'
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Actions Status](https://github.com/cemkiy/action-islack/workflows/Main/badge.svg?branch=master)](https://github.com/cemkiy/action-islack/actions)
[![Actions Status](https://github.com/cemkiy/action-slacker/workflows/Main/badge.svg?branch=master)](https://github.com/cemkiy/action-slacker/actions)


# Slack - Github Action

Expand Down Expand Up @@ -27,7 +28,7 @@ jobs:
- name: Slack notification
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
uses: cemkiy/action-islack@master
uses: cemkiy/action-slacker@master
with:
# requirements fields for slack
channel: '#channel-name'
Expand All @@ -54,7 +55,7 @@ jobs:
Default output if you've not set any attachment will look like this.
```sh
cemkiy/action-islack/Notification on push to master triggered by cemkiy (push)
cemkiy/action-slacker/Notification on push to master triggered by cemkiy (push)
```

If you've set an attachment, you should see it in addition to default message.
Expand All @@ -68,7 +69,7 @@ If you want to show different messages based on succes or failure of previous st
if: failure()
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
uses: cemkiy/action-islack@master
uses: cemkiy/action-slacker@master
with:
channel: '#channel-name'
icon_url: 'slack user icon url'
Expand All @@ -79,7 +80,7 @@ If you want to show different messages based on succes or failure of previous st
if: success()
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
uses: cemkiy/action-islack@master
uses: cemkiy/action-slacker@master
with:
channel: '#channel-name'
icon_url: 'slack user icon url'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'action-islack'
name: 'action-slacker'
description: 'send slack notify'
branding:
icon: 'at-sign'
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "action-islack",
"name": "action-slacker",
"version": "1.0.0",
"description": "send slack notification with advanced message format",
"main": "index.js",
Expand All @@ -10,7 +10,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/cemkiy/action-islack.git"
"url": "git+https://github.com/cemkiy/action-slacker.git"
},
"keywords": [
"GitHub",
Expand All @@ -19,7 +19,7 @@
],
"author": "GitHub",
"license": "MIT",
"homepage": "https://github.com/cemkiy/action-islack#readme",
"homepage": "https://github.com/cemkiy/action-slacker#readme",
"dependencies": {
"@actions/core": "^1.1.1",
"slack-notify": "^0.1.7"
Expand Down

0 comments on commit 8c2a2a2

Please sign in to comment.