Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ref: Tidy up types and remove string coercion#1536

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
thomasrockhu-codecov merged 3 commits intomainfromnick/tidy-up-context-types
Aug 12, 2024

Conversation

@nicholas-codecov
Copy link

This PR adds in a package to give the correct types for GH payload events, as well this PR removes redundant string coercion that's not needed.

@codecov
Copy link

codecovbot commentedAug 8, 2024
edited
Loading

Codecov Report

Attention: Patch coverage is90.90909% with6 lines in your changes missing coverage. Please review.

Project coverage is 92.92%. Comparing base(943cea1) to head(5694bb0).

FilesPatch %Lines
src/buildExec.ts90.90%6 Missing⚠️
Additional details and impacted files
@@            Coverage Diff             @@##             main    #1536      +/-   ##==========================================+ Coverage   91.66%   92.92%   +1.25%==========================================  Files           5        5                Lines         324      325       +1       Branches       86       77       -9     ==========================================+ Hits          297      302       +5+ Misses         27       21       -6- Partials        0        2       +2
FlagCoverage Δ
demo92.92% <90.90%> (+1.25%)⬆️
macos-latest92.92% <90.90%> (+1.25%)⬆️
script92.92% <90.90%> (+1.25%)⬆️
ubuntu-latest92.92% <90.90%> (+1.25%)⬆️
version92.92% <90.90%> (+1.25%)⬆️
windows-latest92.92% <90.90%> (+1.25%)⬆️

Flags with carried forward coverage won't be shown.Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

Comment on lines 36 to 38
['pull_request','pull_request_target'].every(
(event)=>event!==context.eventName,
)

Choose a reason for hiding this comment

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

Suggested change
['pull_request','pull_request_target'].every(
(event)=>event!==context.eventName,
)
!['pull_request','pull_request_target'].includes(context.eventName)

similar to below

Copy link
Author

@nicholas-codecovnicholas-codecovAug 9, 2024
edited
Loading

Choose a reason for hiding this comment

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

Ahhh yea that would be better ... i spent a hot minute looking at MDN docs trying to figure out the "smart" way ... and all i needed was a! 🤦

@thomasrockhu-codecovthomasrockhu-codecov deleted the nick/tidy-up-context-types branchAugust 12, 2024 17:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@SwatinemSwatinemSwatinem approved these changes

@thomasrockhu-codecovthomasrockhu-codecovthomasrockhu-codecov approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@nicholas-codecov@Swatinem@thomasrockhu-codecov@nsdeschenes

[8]ページ先頭

©2009-2025 Movatter.jp