Skip to content

Commit

Permalink
chore(changesets): fix Slackbot condition
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Dec 21, 2022
1 parent 4bacd74 commit b0ad01e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,8 @@ jobs:
if: steps.check_files.outputs.files_exists == 'true' && startsWith(github.event.head_commit.message, 'Version Packages')
run: npm run changeset-publish

- name: Echo Changesets outcome
run: echo "${{ steps.changesets.outcome == 'success' }} ${{ steps.changesets.outputs.published == 'true' }}"

- name: Send a Slack notification on publish
if: steps.changesets.outcome == 'success' && steps.changesets.outputs.published == 'true'
if: steps.changesets.outcome == 'success'
id: slack
uses: slackapi/slack-github-action@v1.23.0
with:
Expand Down

0 comments on commit b0ad01e

Please sign in to comment.