Skip to content
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

feat: Add Command Name Environment Variable to Pre/Post Workflow Executions #3571

Merged
merged 8 commits into from
Jul 7, 2023

Conversation

X-Guardian
Copy link
Contributor

what

Adds the CommandName property to the WorkflowHookCommandContext type and adds COMMAND_NAME to the customEnvVars in the Pre/Post Workflow Hook Runner Run functions.

why

tests

Tested locally

@X-Guardian X-Guardian requested a review from a team as a code owner July 3, 2023 19:11
@github-actions github-actions bot added docs Documentation go Pull requests that update Go code labels Jul 3, 2023
@X-Guardian
Copy link
Contributor Author

Maintainers, this PR is ready for review.

Copy link
Member

@GenPage GenPage left a comment

Choose a reason for hiding this comment

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

:shipit:

@GenPage GenPage merged commit 847cab7 into runatlantis:main Jul 7, 2023
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
…utions (runatlantis#3571)

* Add Workflow Command Name env var

* Update tests

* Update command runner

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
…utions (runatlantis#3571)

* Add Workflow Command Name env var

* Update tests

* Update command runner

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
terakoya76 pushed a commit to terakoya76/atlantis that referenced this pull request Dec 31, 2024
…utions (runatlantis#3571)

* Add Workflow Command Name env var

* Update tests

* Update command runner

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add An Environment Variable to the Pre/Post Workflow Executions that contains the Atlantis Command Name
3 participants