Skip to content

allow environment to be set#11

Merged
heyrun merged 2 commits intomainfrom
allow_enviornment_settings_on_job
Jun 17, 2025
Merged

allow environment to be set#11
heyrun merged 2 commits intomainfrom
allow_enviornment_settings_on_job

Conversation

@heyrun
Copy link
Copy Markdown
Contributor

@heyrun heyrun commented Jun 16, 2025

🚪 Why?

🔑 What?

🏡 Context

@heyrun heyrun marked this pull request as ready for review June 16, 2025 17:02
Copy link
Copy Markdown
Contributor

@beagleknight beagleknight left a comment

Choose a reason for hiding this comment

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

:shipit: LGTM!

uses: string;
with?: Record<string, string | number | boolean | object>;
secrets?: Record<string, string | number | boolean | object> | "inherit";
environment?: string;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

better set a default value, like the above "inherit"? How does it affect existing workflows?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

existing workflows work as is, no change.

Copy link
Copy Markdown
Contributor

@beagleknight beagleknight Jun 17, 2025

Choose a reason for hiding this comment

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

@arnauvp-factorial That's not a default value, that's part of the type 👍 . In case of environment since it is a string, there is no specific string for that type.

@heyrun heyrun force-pushed the allow_enviornment_settings_on_job branch from fdb905a to 85174e9 Compare June 17, 2025 13:51
@heyrun heyrun merged commit 41a22ad into main Jun 17, 2025
1 check passed
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