Skip to content

release

release #228

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 == 'andykenward/github-actions-cloudflare-pages' && github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
timeout-minutes: 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: andykenward/github-actions/setup-pnpm@b1f379eaf1cb5bd7f384d2a53e501c2d881eed4f #v1.0.2
with:
node-version: 20
- name: Create Release Pull Request
id: changesets
uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308 #v1.4.9
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}