Also outputs command output message when import fails on the update_primary_domain
step.
#497
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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' |