Skip to content

Conversation

@sam-mellor
Copy link

This pull request introduces enhancements to the action.yml file by adding a new input parameter to control artifact inclusion and improving the shell script for better directory handling. These changes aim to make the action more flexible and robust.

Enhancements to input parameters:

  • Added a new input parameter, include-artifacts, which allows users to specify whether artifacts should be included in the package. The default value is set to "true". (action.yml, action.ymlR18-R22)

Improvements to the shell script:

  • Updated the shell script in the runs section to use pushd and popd for managing the working directory, improving readability and ensuring the directory is restored after execution. (action.yml, action.ymlL57-R69)
  • Added an environment variable, ATO_CLI_PACKAGE_INCLUDE_ARTIFACTS, to pass the include-artifacts input to the ato package publish command. (action.yml, action.ymlL57-R69)

@sam-mellor sam-mellor requested review from Copilot and mawildoer April 25, 2025 23:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request enhances the action by adding a new input parameter to control artifact inclusion and improving the shell script for better directory management.

  • Added the "include-artifacts" input parameter with a default of "true" in action.yml.
  • Updated the shell script to use pushd/popd for enhanced directory handling and passed the new input as an environment variable to the ato package publish command.

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.

2 participants