Skip to content

🔧 Deploy new/bundle (ignored) by @jiaojiaojiaoCpbr #2

🔧 Deploy new/bundle (ignored) by @jiaojiaojiaoCpbr

🔧 Deploy new/bundle (ignored) by @jiaojiaojiaoCpbr #2

name: 🔧 PR labeled
run-name: |
🔧 Deploy ${{ github.head_ref }} (${{
github.event.label.name == ':wrench: publish-npm' && 'publish-npm'||
'ignored'
}}) by @${{ github.actor }}
on:
pull_request:
types:
- labeled
concurrency:
group: ${{ github.workflow }}-${{ format('{0}-{1}', github.head_ref, github.event.label.name) }}
cancel-in-progress: true
jobs:
# NOTE: The following job will be triggered manually by adding the specified label `:wrench: publish-npm` in Pull-Request.
publish-to-npm:
if: |
github.event.label.name == ':wrench: publish-npm'
uses: ./.github/workflows/npm-publish.yaml

Check failure on line 23 in .github/workflows/pull-request-labeled.yaml

View workflow run for this annotation

GitHub Actions / 🔧 PR labeled

Invalid workflow file

The workflow is not valid. .github/workflows/pull-request-labeled.yaml (Line: 23, Col: 15): Secret NPM_TOKEN is required, but not provided while calling. .github/workflows/pull-request-labeled.yaml (Line: 25, Col: 30): Invalid secret, NODE_AUTH_TOKEN is not defined in the referenced workflow.
secrets:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}