bump package version to v1.24.0

This commit is contained in:
Ethan Zimbelman
2023-05-17 14:21:51 -07:00
parent 2c8b741a82
commit f07b4a2d03
10 changed files with 18 additions and 18 deletions
+8 -8
View File
@@ -41,7 +41,7 @@ Add this Action as a [step][job-step] to your project's GitHub Action Workflow f
```yaml
- name: Send GitHub Action trigger data to Slack workflow
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
```
@@ -51,7 +51,7 @@ or
```yaml
- name: Send custom JSON data to Slack workflow
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
# This data can be any valid JSON from a previous step in the GitHub Action
payload: |
@@ -69,7 +69,7 @@ or
```yaml
- name: Send custom JSON data to Slack workflow
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
payload-file-path: "./payload-slack-content.json"
env:
@@ -95,7 +95,7 @@ Add this Action as a [step][job-step] to your project's GitHub Action Workflow f
```yaml
- name: Post to a Slack channel
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
# Slack channel id, channel name, or user id to post message.
# See also: https://api.slack.com/methods/chat.postMessage#channels
@@ -112,7 +112,7 @@ Using JSON payload for constructing a message is also available:
```yaml
- name: Post to a Slack channel
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
# Slack channel id, channel name, or user id to post message.
# See also: https://api.slack.com/methods/chat.postMessage#channels
@@ -143,7 +143,7 @@ Please note that **the message update step does not accept a channel name.** Set
```yaml
- id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
# The following message update step does not accept a channel name.
# Setting a channel ID here for consistency is highly recommended.
@@ -167,7 +167,7 @@ Please note that **the message update step does not accept a channel name.** Set
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN}}
- uses: slackapi/[email protected]3.0
- uses: slackapi/[email protected]4.0
with:
# Unlike the step posting a new message, this step does not accept a channel name.
# Please use a channel ID, not a name here.
@@ -213,7 +213,7 @@ Incoming Webhooks conform to the same rules and functionality as any of Slack's
```yaml
- name: Send custom JSON data to Slack workflow
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
# For posting a rich message using Block Kit
payload: |
@@ -7,7 +7,7 @@ jobs:
steps:
- name: Send GitHub trigger payload to Slack Workflow Builder
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
payload: |
{
@@ -7,7 +7,7 @@ jobs:
steps:
- name: Send GitHub trigger payload to Slack Workflow Builder
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
payload-file-path: "./example-workflows/Technique_1_Slack_Workflow_Builder/payloads/example.json"
env:
@@ -7,6 +7,6 @@ jobs:
steps:
- name: Send GitHub trigger payload to Slack Workflow Builder
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
@@ -7,7 +7,7 @@ jobs:
steps:
- name: Send GitHub trigger payload to Slack Workflow Builder
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
channel-id: 'SLACK_CHANNEL_ID' # ID of Slack Channel you want to post to
payload: |
@@ -7,7 +7,7 @@ jobs:
steps:
- name: Send GitHub trigger payload to Slack Workflow Builder
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
channel-id: 'SLACK_CHANNEL_ID' # ID of Slack Channel you want to post to
payload: "{\"text\": \"posting from a github action\"}"
@@ -7,7 +7,7 @@ jobs:
steps:
- name: Publish to slack channel via bot token
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.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
@@ -7,7 +7,7 @@ jobs:
steps:
- name: Send GitHub trigger payload to Slack Workflow Builder
id: slack
uses: slackapi/[email protected]3.0
uses: slackapi/[email protected]4.0
with:
payload: |
{
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "slack-github-action",
"version": "1.23.0",
"version": "1.24.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "slack-github-action",
"version": "1.23.0",
"version": "1.24.0",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "slack-github-action",
"version": "1.23.0",
"version": "1.24.0",
"description": "The official slack github action. Use this to send data into your Slack workspace",
"main": "dist/index.js",
"scripts": {