fix(ui): avoid ChatGPT 431 for long Copy for AI prompts (#3404) #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - canary | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| # npm trusted publishing (OIDC) is only supported on GitHub-hosted `ubuntu-latest` runners. | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: write | |
| container: | |
| image: node:24 | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 | |
| with: | |
| fetch-depth: 1 | |
| - run: git config --global --add safe.directory $GITHUB_WORKSPACE | |
| - name: pnpm setup | |
| uses: pnpm/action-setup@738f428026a1f5a72398de22aeed83d859c4a660 | |
| - name: Install packages | |
| run: pnpm install --frozen-lockfile --prefer-offline | |
| - name: Publish stable release | |
| run: node --import tsx/esm ./scripts/release.mts | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |