-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Manage special bash options when no shell is defined in a workflow #2449
Manage special bash options when no shell is defined in a workflow #2449
Conversation
c926cda
to
83eb7f8
Compare
d9ea33a
to
3a9d402
Compare
@sebastien-perpignane this pull request has failed checks 🛠 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lint error would need to be fixed
--Error detail:
pkg/model/workflow.go:
623: Wrong indentation type(spaces instead of tabs)
625: Wrong indentation type(spaces instead of tabs)
E.g. the vscode extention for go automatically fixes this kind of errors
Broken Tests whatever they test
--- FAIL: TestRunEvent/defaults-run (3.95s)
=== RUN TestStepRun
--- FAIL: TestStepRun (0.04s)
@sebastien-perpignane this pull request has failed checks 🛠 |
1 similar comment
@sebastien-perpignane this pull request has failed checks 🛠 |
175185c
to
0af3f8b
Compare
…defined * bash without "-o pipefail" option when "bash" is not explicitely defined in the workflow * bonus: fix inverted expected and actual in TestGetGitHubContext assertions
836d711
to
b87c8e4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2449 +/- ##
===========================================
+ Coverage 61.56% 76.66% +15.10%
===========================================
Files 53 62 +9
Lines 9002 8186 -816
===========================================
+ Hits 5542 6276 +734
+ Misses 3020 1345 -1675
- Partials 440 565 +125 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for finishing this looks good to me
I also never wrote anything in go, until modding the existing nektos/act
are we waiting for @wolfogre approval before merging ? |
...Yes, or cplee (owner). Automerge for you only with all checks green + 2 approvals (maintainer+owner) A big regressions must have been merged for me to bypass this here, since I'm not an owner. |
Fixes #2448