Skip to content

Update locales for "Add Filters" -> "Add filters" (#5430) #1059

Update locales for "Add Filters" -> "Add filters" (#5430)

Update locales for "Add Filters" -> "Add filters" (#5430) #1059

Workflow file for this run

name: Changeset
on:
push:
branches:
- 'main'
jobs:
version:
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
hasChangesets: ${{ steps.changesets.outputs.hasChangesets }}
hasPublished: ${{ steps.changesets.outputs.published }}
publishedPackages: ${{ steps.changesets.outputs.publishedPackages }}
env:
GITHUB_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Create Release Pull Request or Publish to npm
run: |
npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN"
- uses: changesets/action@v1
id: changesets
with:
title: 'Changeset: Version packages'
commit: 'version packages'
version: pnpm ci:version
publish: pnpm ci:publish
notify-slack:
runs-on: ubuntu-latest
timeout-minutes: 5
needs:
version
# We only trigger this flow if the publish is happening, inferred by not having a changeset.
if: needs.version.outputs.hasChangesets == 'false'
env:
PUBLISHED: ${{ needs.version.outputs.hasPublished }}
steps:
- name: Send
uses: slackapi/slack-github-action@v1.24.0
with:
channel-id: 'C02NUQ27G56'
slack-message: ${{ env.PUBLISHED == 'true' && 'Packages have been published' || 'Publishing failed' }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}