Skip to content

New develop release: 3.9.4-dev.0 #604

New develop release: 3.9.4-dev.0

New develop release: 3.9.4-dev.0 #604

Workflow file for this run

---
name: Publish to npm (if applicable)
on:
pull_request:
types: [closed]
jobs:
publish:
name: Publish to npm
runs-on: ubuntu-latest
if: contains( github.event.pull_request.labels.*.name, '[ Type ] NPM version update' ) && startsWith( github.head_ref, 'release/') && github.event.pull_request.merged == true
permissions:
contents: write
id-token: write
pull-requests: write
steps:
- uses: Automattic/vip-actions/npm-publish@v0.6.0
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PROVENANCE: 'true'
CONVENTIONAL_COMMITS: 'true'