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

fix: if condition in composite action misbehaves with uses #2473

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChristopherHX
Copy link
Contributor

Fixes #2426

tbt

@ChristopherHX ChristopherHX requested a review from a team as a code owner September 27, 2024 18:53
Copy link
Contributor

github-actions bot commented Sep 27, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ EDITORCONFIG editorconfig-checker 2 0 0.01s
✅ REPOSITORY gitleaks yes no 2.32s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 8.43s
✅ REPOSITORY secretlint yes no 1.0s
✅ REPOSITORY trivy-sbom yes no 0.48s
✅ REPOSITORY trufflehog yes no 4.04s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Copy link
Contributor

mergify bot commented Sep 27, 2024

@ChristopherHX this pull request has failed checks 🛠

@mergify mergify bot added the needs-work Extra attention is needed label Sep 27, 2024
Copy link
Contributor

mergify bot commented Sep 27, 2024

@ChristopherHX this pull request has failed checks 🛠

1 similar comment
Copy link
Contributor

mergify bot commented Sep 27, 2024

@ChristopherHX this pull request has failed checks 🛠

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.72%. Comparing base (5a80a04) to head (0fa4ae9).
Report is 113 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2473       +/-   ##
===========================================
+ Coverage   61.56%   76.72%   +15.16%     
===========================================
  Files          53       62        +9     
  Lines        9002     8195      -807     
===========================================
+ Hits         5542     6288      +746     
+ Misses       3020     1343     -1677     
- Partials      440      564      +124     

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

@mergify mergify bot removed the needs-work Extra attention is needed label Sep 27, 2024
@ChristopherHX
Copy link
Contributor Author

ChristopherHX commented Sep 27, 2024

After Trial and Error I hope there are no new regressions, added a test for the defect that is fixed here.

Workarounds for correct execution get's complicated, maybe a rewrite is needed.

Copy link

@CharlieC3 CharlieC3 left a comment

Choose a reason for hiding this comment

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

@ChristopherHX Thanks for submitting this! I can confirm this PR has fixed the problem I mentioned here. I have not noticed any regressions.

Not sure if I should give explicit approval here since I'm not a maintainer, but this seems fine to me.

@ChristopherHX
Copy link
Contributor Author

Thank you for verifying my PR, not always are my changes working correctly and external testing feedback helps a lot

I hope this will help members of act to decide about this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

if condition in composite action misbehaves with uses
2 participants