Skip to content

release

release #120

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: release
on:
workflow_run:
workflows:
- test
branches:
- main
types:
- completed
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
if: ${{ github.repository == 'unlike-ltd/github-actions-cloudflare-pages' && github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- uses: unlike-ltd/github-actions/setup-pnpm@74ca078e70cb5bfc9f6c33afc3b63a66f050311f #v1.0.1
with:
node-version: 20
- name: Create Release Pull Request
id: changesets
uses: changesets/action@e2f8e964d080ae97c874b19e27b12e0a8620fb6c #v1.4.6
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}