Skip to content

Build: add discord notification when generating sandboxes fails#22638

Merged
ndelangen merged 4 commits into
nextfrom
norbert/discord-message-generate-sandboxes-fail
May 19, 2023
Merged

Build: add discord notification when generating sandboxes fails#22638
ndelangen merged 4 commits into
nextfrom
norbert/discord-message-generate-sandboxes-fail

Conversation

@ndelangen

@ndelangen ndelangen commented May 19, 2023

Copy link
Copy Markdown
Member

Adding discord notifications to the monitoring channel so we are alerted when generating sandboxes fails

@ndelangen ndelangen self-assigned this May 19, 2023
@ndelangen ndelangen added patch:yes Bugfix & documentation PR that need to be picked to main branch build Internal-facing build tooling & test updates labels May 19, 2023
@ndelangen ndelangen changed the title add discord notification when generating sandboxes fails Build: add discord notification when generating sandboxes fails May 19, 2023
@ndelangen ndelangen requested review from shilman and yannbf May 19, 2023 10:24

@yannbf yannbf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THANK YOU!!!!

@ndelangen ndelangen merged commit 7d2a090 into next May 19, 2023
@ndelangen ndelangen deleted the norbert/discord-message-generate-sandboxes-fail branch May 19, 2023 10:41
shilman pushed a commit that referenced this pull request May 22, 2023
…nerate-sandboxes-fail

Build: add discord notification when generating sandboxes fails
@shilman shilman mentioned this pull request May 22, 2023
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label May 22, 2023
run: yarn publish-sandboxes --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/sandboxes.git --push --branch=next
working-directory: ./code
- name: The job has failed
if: ${{ failure() || cancelled() }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pro tip (but also very useless) @ndelangen, you don't need to wrap it in an ${{ expression }} syntax when writing if: declarations, that is automatically handled. So you could do:

if: failure() || cancelled()

@ndelangen ndelangen removed the patch:yes Bugfix & documentation PR that need to be picked to main branch label Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Internal-facing build tooling & test updates patch:done Patch/release PRs already cherry-picked to main/release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants