Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(benchmark): add comment permission check and filter paths #4766

Merged
merged 1 commit into from Apr 26, 2022

Conversation

lukekarrys
Copy link
Member

The updates the issue comment check in the benchmark script, so it only
will trigger if posted by a user with admin rights to the repo. It also
changes the comment to trigger it to @npm-robot benchmark this

For pull requests, it now limits benchmarks only when the files changed
include something inside lib/.

Requires npm/benchmarks#30 to be merged in the
benchmark repo to allow issue_comment as a valid trigger.

The updates the issue comment check in the benchmark script, so it only
will trigger if posted by a user with admin rights to the repo. It also
changes the comment to trigger it to `@npm-robot benchmark this`

For pull requests, it now limits benchmarks only when the files changed
include something inside `lib/`.

Requires npm/benchmarks#30 to be merged in the
benchmark repo to allow `issue_comment` as a valid trigger.
@lukekarrys lukekarrys requested a review from a team as a code owner April 15, 2022 22:51
@ruyadorno ruyadorno merged commit e163a0b into latest Apr 26, 2022
@ruyadorno ruyadorno deleted the lk/benchmark-comment branch April 26, 2022 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants