vuestorefront / vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
https://www.alokai.com
MIT License
10.64k stars 2.09k forks source link

chore: fix labeler #6692

Closed filipsobol closed 2 years ago

filipsobol commented 2 years ago

Currently, labeler doesn't work on PRs made from forks, meaning that any community contributions will not have labels. This issue is caused by how the pull_request trigger works.

Some time ago, GitHub added a new pull_request_target trigger that can safely run Actions against forks, assuming proper configuration.

I updated the workflow to match the example from the official GitHub's actions/labeler repository.

You should not use this trigger for other Actions unless you are absolutely sure it's safe. Otherwise, you can leak the GITHUB_TOKEN. Refer to the pull_request_target documentation for more information.

github-actions[bot] commented 2 years ago

:blue_heart: vsf-next-demo successfully deployed at