woocommerce/plugins/woocommerce-admin/.github/actions/pr-labeler
Sam Seay 7e4a2a6dc8 Add a changelog lint check and auto-labelling to PRs (https://github.com/woocommerce/woocommerce-admin/pull/6414) 2021-02-24 14:47:06 +13:00
..
dist Add a changelog lint check and auto-labelling to PRs (https://github.com/woocommerce/woocommerce-admin/pull/6414) 2021-02-24 14:47:06 +13:00
README.md Add a changelog lint check and auto-labelling to PRs (https://github.com/woocommerce/woocommerce-admin/pull/6414) 2021-02-24 14:47:06 +13:00
action.yml Add a changelog lint check and auto-labelling to PRs (https://github.com/woocommerce/woocommerce-admin/pull/6414) 2021-02-24 14:47:06 +13:00
index.js Add a changelog lint check and auto-labelling to PRs (https://github.com/woocommerce/woocommerce-admin/pull/6414) 2021-02-24 14:47:06 +13:00
package-lock.json Add a changelog lint check and auto-labelling to PRs (https://github.com/woocommerce/woocommerce-admin/pull/6414) 2021-02-24 14:47:06 +13:00
package.json Add a changelog lint check and auto-labelling to PRs (https://github.com/woocommerce/woocommerce-admin/pull/6414) 2021-02-24 14:47:06 +13:00

README.md

PR Labeler Action

This is a standalone github action hosted within wc-admin that supports auto adding or removing a PR label, which could be useful in various automation scenarios.

To keep it simple and avoid checking in node_modules when you make changes to index.js you'll need to compile it into the dist directory via @vercel/ncc.

Run these commands from the root of the action before pushing an update to dist/index.js:

npm i -g @vercel/ncc
ncc build index.js

This will compile the node_modules alongside the js into one single file.