Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,8 @@ jobs:
timeout-minutes: 10

steps:
- name: Generate GitHub App Token
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.AI_ELEMENTS_APP_ID }}
private-key: ${{ secrets.AI_ELEMENTS_APP_PRIVATE_KEY }}

- name: Checkout Repo
uses: actions/checkout@v6
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Setup Git User
run: |
git config --global user.email "ai-elements-bot[bot]@users.noreply.github.com"
git config --global user.name "ai-elements-bot[bot]"

- name: Setup pnpm
uses: pnpm/action-setup@v6
Expand Down Expand Up @@ -66,8 +52,9 @@ jobs:
with:
version: pnpm changeset version
publish: pnpm changeset publish
commitMode: github-api
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: "" # Workaround for https://github.com/changesets/action/pull/545

- name: Deploy to Vercel
Expand Down
Loading