Skip to content

Conversation

@GuessWhoSamFoo
Copy link
Contributor

@GuessWhoSamFoo GuessWhoSamFoo commented Jun 5, 2023

Fixes #1542

There's likely room to deduplicate some code in the future with generics once golang/go#48522 gets in a better spot since WorkflowDispatchConfig and WorkflowCallConfig is iterating through inputs on shared fields. Embedding is also possible here although it would require a much larger refactor also not much gained imo.

@mergify
Copy link
Contributor

mergify bot commented Jun 5, 2023

@GuessWhoSamFoo this pull request has failed checks 🛠

@mergify mergify bot added the needs-work Extra attention is needed label Jun 5, 2023
@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Merging #1845 (7221a2d) into master (4989f44) will increase coverage by 1.42%.
The diff coverage is 65.33%.

@@            Coverage Diff             @@
##           master    #1845      +/-   ##
==========================================
+ Coverage   61.22%   62.65%   +1.42%     
==========================================
  Files          46       51       +5     
  Lines        7141     8209    +1068     
==========================================
+ Hits         4372     5143     +771     
- Misses       2462     2677     +215     
- Partials      307      389      +82     
Impacted Files Coverage Δ
pkg/common/outbound_ip.go 0.00% <0.00%> (ø)
pkg/container/docker_cli.go 82.23% <ø> (ø)
pkg/container/docker_logger.go 52.08% <ø> (ø)
pkg/container/docker_run.go 13.58% <0.00%> (-0.01%) ⬇️
pkg/container/docker_volume.go 0.00% <ø> (ø)
pkg/container/file_collector.go 37.30% <0.00%> (ø)
pkg/container/host_environment.go 0.00% <0.00%> (ø)
...ontainer/linux_container_environment_extensions.go 23.07% <0.00%> (-1.25%) ⬇️
pkg/exprparser/functions.go 66.32% <0.00%> (-1.04%) ⬇️
pkg/model/workflow.go 42.33% <8.88%> (+0.21%) ⬆️
... and 26 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@GuessWhoSamFoo GuessWhoSamFoo force-pushed the issue-1542 branch 2 times, most recently from d4d5250 to b1c986b Compare June 7, 2023 18:11
@mergify mergify bot removed the needs-work Extra attention is needed label Jun 8, 2023
Copy link
Contributor

@cplee cplee left a comment

Choose a reason for hiding this comment

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

Thanks!

@GuessWhoSamFoo
Copy link
Contributor Author

@cplee Mergify seems to be unhappy with permissions

@ChristopherHX
Copy link
Contributor

@GuessWhoSamFoo Press "update branch" and it will continue.

cplee should grant the workflow permission to mergify to prevent such weird issue.

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.

Add support for '${{ inputs.xyz }}' when using the workflow_call event.

3 participants