Skip to content

Update the import command group to follow the VIP-CLI style guide #512

Update the import command group to follow the VIP-CLI style guide

Update the import command group to follow the VIP-CLI style guide #512

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/[email protected]
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PROVENANCE: 'true'
CONVENTIONAL_COMMITS: 'true'