CircleCI-Public / slack-orb

Create custom Slack notifications for CircleCI job statuses
https://circleci.com/developer/orbs/orb/circleci/slack
MIT License
214 stars 206 forks source link

fix: sanitization error with sub-shells #383

Closed EricRibeiro closed 1 year ago

EricRibeiro commented 1 year ago

Motivation

Changes

This ensures grep will succeed even if nothing matches. Thus solving the issue of sub-shells failing the sanitization function.

This prevents the function from running without variable names to sanitize.

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/slack?version=dev:6b84bda4c6cbf19e4c79e98a600ef4de29c03f31

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/slack?version=dev:cf81b0e7842e7856bde82f77b24efe9051217247

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/slack?version=dev:8fd1c994dea398ccb16c99568e237931c1b3e12f

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/slack?version=dev:8fd1c994dea398ccb16c99568e237931c1b3e12f

orb-publisher commented 1 year ago

Your orb has been published to the CircleCI Orb Registry. You can view your published orb on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/slack?version=4.12.1