Skip to content

Commit

Permalink
fix: typo in the inputs (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored May 27, 2024
1 parent b1d8dda commit 2b3473e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion updatecli/run-and-notify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: elastic/oblt-actions/updatecli/run-and-notify@v2
- uses: elastic/oblt-actions/updatecli/run-and-notify@v1
with:
command: apply --config updatecli/updatecli.d
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions updatecli/run-and-notify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ runs:
with:
command: ${{ inputs.command }}

- if: ${{ always() && input.slack-send-when == 'always' }}
- if: ${{ always() && inputs.slack-send-when == 'always' }}
uses: elastic/oblt-actions/slack/send@v1
with:
channel-id: ${{ inputs.slack-channel-id }}
bot-token: ${{ inputs.slack-bot-token }}
message: ${{ inputs.slack-message }}

- if: ${{ failure() && input.slack-send-when == 'failure' }}
- if: ${{ failure() && inputs.slack-send-when == 'failure' }}
uses: elastic/oblt-actions/slack/send@v1
with:
channel-id: ${{ inputs.slack-channel-id }}
bot-token: ${{ inputs.slack-bot-token }}
message: ${{ inputs.slack-message }}

- if: ${{ success() && input.slack-send-when == 'success' }}
- if: ${{ success() && inputs.slack-send-when == 'success' }}
uses: elastic/oblt-actions/slack/send@v1
with:
channel-id: ${{ inputs.slack-channel-id }}
Expand Down

0 comments on commit 2b3473e

Please sign in to comment.