woocommerce/plugins/woocommerce-admin/.github/actions/pr-labeler
renovate[bot] c151950a6e Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/7448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-10 09:53:30 -04: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 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/7448) 2021-08-10 09:53:30 -04: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.