Fix noisy runs-on error logging#2102
Merged
mergify[bot] merged 3 commits intonektos:masterfrom Dec 16, 2023
Merged
Conversation
Move the logging back up a level to fix a minor logging issue introduced in nektos#2088 `RunContext`s for composite actions have dummy/blank `Job`s with no `runs-on`, meaning their calls to `withGithubEnv` would result in an inaccurate log message complaining that `'runs-on' key not defined in ...`
96cd6cb to
1cd1a0e
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2102 +/- ##
==========================================
+ Coverage 61.22% 61.64% +0.42%
==========================================
Files 46 53 +7
Lines 7141 8808 +1667
==========================================
+ Hits 4372 5430 +1058
- Misses 2462 2948 +486
- Partials 307 430 +123 ☔ View full report in Codecov by Sentry. |
wolfogre
approved these changes
Dec 13, 2023
Contributor
|
@jenseng this pull request has failed checks 🛠 |
Contributor
|
@jenseng this pull request has failed checks 🛠 |
Contributor
|
Hmm, weird, never saw this crash in the tests. |
ChristopherHX
approved these changes
Dec 16, 2023
jmikedupont2
pushed a commit
to meta-introspector/act
that referenced
this pull request
Mar 10, 2024
Move the logging back up a level to fix a minor logging issue introduced in nektos#2088 `RunContext`s for composite actions have dummy/blank `Job`s with no `runs-on`, meaning their calls to `withGithubEnv` would result in an inaccurate log message complaining that `'runs-on' key not defined in ...` Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move the logging back up a level to fix a minor logging issue introduced in #2088
The
RunContextfor a composite action has a dummy/blankJobwith noruns-on, meaning its calls towithGithubEnvwould result in an inaccurate log message complaining that'runs-on' key not defined in ...