Skip to content

Bump tsp 0.62.0 (#767) #252

Bump tsp 0.62.0 (#767)

Bump tsp 0.62.0 (#767) #252

name: Prepare Auto Release Branch
# Disable as MS Org doesn't allow github action to create PR anymore. Can be re-added if a solution is found.
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
pull-requests: write
contents: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install pnpm
uses: pnpm/action-setup@v3
- run: pnpm install
name: Install dependencies
- name: Create release branch
run: node ./eng/publish.mjs
# - name: Create Release Pull Request
# uses: changesets/action@v1
# with:
# title: "Bump package versions for release"
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# https://github.blog/changelog/2022-09-08-github-actions-use-github_token-with-workflow_dispatch-and-repository_dispatch/
# - name: Trigger CI
# uses: actions/github-script@v6
# with:
# script: |
# github.rest.actions.createWorkflowDispatch({
# owner: context.repo.owner,
# repo: context.repo.repo,
# workflow_id: 'ci.yml',
# ref: "changeset-release/main",
# })