Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(readme): update version tag in examples #4

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Be sure that you set the `SLACK_WEBHOOK_URL` environment variable, either in the
job or in the step like this:

```yaml
- uses: the-actions-org/simple-slack-notify@master
- uses: the-actions-org/simple-slack-notify@v1.3.2
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
```
Expand All @@ -38,7 +38,7 @@ providing some text.

```yaml
- name: Simple notification
uses: the-actions-org/simple-slack-notify@master
uses: the-actions-org/simple-slack-notify@v1.3.2
with:
text: 'This is the simplest notification'
```
Expand All @@ -48,7 +48,7 @@ deployments, and alerts perhaps.

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

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

```yaml
- name: Panic Bot notification
uses: the-actions-org/simple-slack-notify@master
uses: the-actions-org/simple-slack-notify@v1.3.2
with:
channel: '#alerts'
username: 'Panic Bot'
Expand All @@ -86,7 +86,7 @@ you'd specify a field:

```yaml
- name: Specifying what to panic about notification
uses: the-actions-org/simple-slack-notify@master
uses: the-actions-org/simple-slack-notify@v1.3.2
with:
channel: '#alerts'
username: 'Panic Bot'
Expand All @@ -101,7 +101,7 @@ array:

```yaml
- name: Specifying what to panic about notification
uses: the-actions-org/simple-slack-notify@master
uses: the-actions-org/simple-slack-notify@v1.3.2
with:
channel: '#alerts'
username: 'Panic Bot'
Expand All @@ -121,7 +121,7 @@ an example:

```yaml
- name: Environment variable notification
uses: the-actions-org/simple-slack-notify@master
uses: the-actions-org/simple-slack-notify@v1.3.2
with:
channel: '#example'
text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) has finished'
Expand All @@ -139,7 +139,7 @@ regardless of whether the job is successful or not.
```yaml
- name: Build notification
if: always()
uses: the-actions-org/simple-slack-notify@master
uses: the-actions-org/simple-slack-notify@v1.3.2
with:
channel: '#builds'
status: ${{ job.status }}
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.

Loading