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: major version update #327

Merged
merged 12 commits into from
Oct 21, 2024
Merged

feat: major version update #327

merged 12 commits into from
Oct 21, 2024

Conversation

rdhar
Copy link
Member

@rdhar rdhar commented Oct 20, 2024

v12.0.0-rc.1

v12 Enhanced Parsing of Commands and Outputs

Highlights

  • Around 55% reduction in codebase by consolidating action.yaml within Bash, lowering the barrier to entry for contributors.
  • Configurable rendering of command inputs and outputs without wrapper script (e.g., hide-args from PR comment).
  • Streamlined documentation with a focus on workflow examples for common use-cases.

Breaking

  • Input parameters have been renamed:
    • All _ underscores are replaced with - hyphens.
    • working-directory is added as an alias to arg-chdir.
    • arg_command is renamed to command.
    • For the full list, view the parameters.
  • To minimize dependencies, the following have been removed:

Added

  • gh GitHub CLI integration for consistent interoperability with GitHub's REST API.
  • Link to view workflow log with the precise step where TF-via-PR was executed.
  • Pass repeated arguments as comma-separated values (e.g., arg-var: key1=value1,key2=value2).

Changed

  • comment-pr default from "recreate" to "update" for its revision history.
  • format default from "true" to "false" for explicit opt-in of the command, as done with validate.

Removed

  • actions/cache dependency, as out-of-scope.
  • actions/github-script dependecy, as superseded by gh GitHub CLI.
  • tenv dependency, as replaced by 3rd parties.

Fixed

  • Upon failure, output the error message directly instead of the entire command output.
  • Upon exceeding character limit, gracefully handle truncation of command output.

Secured

  • Support for v12 and after.

Commits changelog: v11.4.6...v12

Resolved #279, #278.

rdhar added 9 commits October 21, 2024 00:10
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
@rdhar rdhar mentioned this pull request Oct 20, 2024
rdhar added 3 commits October 21, 2024 00:46
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
Signed-off-by: Rishav Dhar <[email protected]>
@rdhar rdhar merged commit 01cbb55 into main Oct 21, 2024
2 checks passed
@rdhar rdhar deleted the ci--major-version-update branch October 21, 2024 00:43
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.

1 participant