Skip to content

Update examples to use ctx.actions.args().#693

Merged
gregestren merged 2 commits into
bazelbuild:mainfrom
katre:args-example
May 29, 2026
Merged

Update examples to use ctx.actions.args().#693
gregestren merged 2 commits into
bazelbuild:mainfrom
katre:args-example

Conversation

@katre
Copy link
Copy Markdown
Contributor

@katre katre commented May 29, 2026

No description provided.

@katre katre marked this pull request as ready for review May 29, 2026 17:55
@katre
Copy link
Copy Markdown
Contributor Author

katre commented May 29, 2026

@fmeum Based on your comments on bazelbuild/bazel#29641, I thought this might make sense.

@gregestren gregestren merged commit 42a0b6d into bazelbuild:main May 29, 2026
2 checks passed
outputs = [ctx.outputs.out],
arguments = args,
arguments = [args],
progress_message = "Merging into %s" % ctx.outputs.out.short_path,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That's an opportunity to also use the %{...} placeholders.

@katre katre deleted the args-example branch June 1, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants