diff --git a/.gitignore b/.gitignore index b512c09..fd4f2b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +.DS_Store diff --git a/LICENSE b/LICENSE index d42fa6c..7fdefa0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Slack Technologies, Inc. +Copyright (c) 2019 Slack Technologies, LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index d243697..706b4d0 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ # Slack Send GitHub Action -Send data into Slack using this GitHub Action! This package has two different techniques to send data to Slack: +Send data into Slack using this GitHub Action! This package has three different techniques to send data to Slack: 1) Send data to Slack's Workflow Builder (requires a paid Slack instance). 2) Send data via a Slack app to post to a specific channel (use an existing custom app or create a new one). +3) Send data via an Slack's Incoming Webhook URL (use an existing custom app or create a new one) The recommended way to use this action is with Slack's Workflow Builder (if you're on a paid Slack plan). diff --git a/example-workflows/Incoming webhook/main.yml b/example-workflows/Incoming_Webhook/main.yml similarity index 100% rename from example-workflows/Incoming webhook/main.yml rename to example-workflows/Incoming_Webhook/main.yml diff --git a/example-workflows/Workflow builder/customJSONPayload.yml b/example-workflows/Workflow_Builder/JSON_payload.yml similarity index 100% rename from example-workflows/Workflow builder/customJSONPayload.yml rename to example-workflows/Workflow_Builder/JSON_payload.yml diff --git a/example-workflows/Workflow builder/githubTriggerPayload.yml b/example-workflows/Workflow_Builder/default_GitHub_Trigger_payload.yml similarity index 100% rename from example-workflows/Workflow builder/githubTriggerPayload.yml rename to example-workflows/Workflow_Builder/default_GitHub_Trigger_payload.yml diff --git a/example-workflows/Bot token post to channel/customJSONPayload.yml b/example-workflows/chat_postMessage_with_bot_token/JSON_payload.yml similarity index 100% rename from example-workflows/Bot token post to channel/customJSONPayload.yml rename to example-workflows/chat_postMessage_with_bot_token/JSON_payload.yml diff --git a/example-workflows/Bot token post to channel/JSONTextPayload.yml b/example-workflows/chat_postMessage_with_bot_token/JSON_payload_as_text.yml similarity index 100% rename from example-workflows/Bot token post to channel/JSONTextPayload.yml rename to example-workflows/chat_postMessage_with_bot_token/JSON_payload_as_text.yml diff --git a/example-workflows/Bot token post to channel/main.yml b/example-workflows/chat_postMessage_with_bot_token/main.yml similarity index 89% rename from example-workflows/Bot token post to channel/main.yml rename to example-workflows/chat_postMessage_with_bot_token/main.yml index a97ec12..784831b 100644 --- a/example-workflows/Bot token post to channel/main.yml +++ b/example-workflows/chat_postMessage_with_bot_token/main.yml @@ -7,7 +7,7 @@ jobs: steps: - name: Publish to slack channel via bot token id: slack - uses: slackapi/slack-github-action@v1.15.0 + uses: slackapi/slack-github-action@v1.16.0 with: channel-id: 'SLACK_CHANNEL_ID' # ID of Slack Channel you want to post to slack-message: 'posting from a github action!' # The message you want to post diff --git a/package.json b/package.json index 172c8bb..a146fe1 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "action", "workflow" ], - "author": "Slack Technologies, Inc.", + "author": "Slack Technologies, LLC", "license": "MIT", "bugs": { "url": "https://github.com/slackapi/slack-github-action/issues"