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: No package-size comments on forks. #654

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

kinyoklion
Copy link
Member

No description provided.

@@ -39,7 +41,7 @@ runs:
body-includes: '${{ inputs.package_name }} size report'

- name: Create comment
if: steps.fc.outputs.comment-id == ''
if: steps.fc.outputs.comment-id == '' && github.event.pull_request.head.repo.full_name == github.repository
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For forks the repo name will have a different owner and will not match.

Copy link
Member Author

@kinyoklion kinyoklion Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not 100% sure if a composite can access this, so we will hopefully find out from the CI run.

Seemed to work.

Copy link
Contributor

github-actions bot commented Nov 1, 2024

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 18640 bytes
Size limit: 21000

Copy link
Contributor

github-actions bot commented Nov 1, 2024

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Size: 19445 bytes
Size limit: 21000

Copy link
Contributor

github-actions bot commented Nov 1, 2024

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 15292 bytes
Size limit: 20000

@kinyoklion kinyoklion marked this pull request as ready for review November 1, 2024 22:09
@kinyoklion kinyoklion requested a review from a team as a code owner November 1, 2024 22:09
@kinyoklion kinyoklion merged commit b8a2331 into main Nov 4, 2024
20 checks passed
@kinyoklion kinyoklion deleted the rlamb/no-size-comments-on-fork branch November 4, 2024 16:47
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.

2 participants