diff --git a/.changeset/weak-lizards-lick.md b/.changeset/weak-lizards-lick.md new file mode 100644 index 000000000..749d4ec4d --- /dev/null +++ b/.changeset/weak-lizards-lick.md @@ -0,0 +1,5 @@ +--- +'backend': patch +--- + +make the workflow manual diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef65d80b9..c19c9f838 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,7 @@ name: Release on: - push: - branches: - - main + workflow_dispatch: concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -15,10 +13,10 @@ jobs: - name: Checkout Repo uses: actions/checkout@v3 - - name: Setup Node.js 18 + - name: Setup Node.js 20 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install Dependencies run: yarn @@ -27,3 +25,8 @@ jobs: uses: changesets/action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Create publish to production Pull Request + run: gh pr create -B main -H canary --title 'publish to prod' --body 'Created by Github action. Check CHANGELOG.md for more details.' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}