Skip to content

Ensure that the action is backwards-compatible#25

Merged
edif2008 merged 7 commits intomainfrom
fix/backwards-compatible
Dec 22, 2022
Merged

Ensure that the action is backwards-compatible#25
edif2008 merged 7 commits intomainfrom
fix/backwards-compatible

Conversation

@edif2008
Copy link
Copy Markdown
Member

@edif2008 edif2008 commented Dec 21, 2022

This PR brings 2 changes that ensure that the GitHub Action is backwards compatible:

  • Append http:// if the prefix is not provided in the OP_CONNECT_HOST (this is caused by the fact that curl guesses the protocol if not provided, which we missed when switching to using the 1Password CLI as the backend of the action)
  • Set the default of export-env to true, since that was the default behavior of the action until we added the possibility to export secrets as step's output.

Also, the documentation is adjusted to reflect these changes.

@edif2008 edif2008 mentioned this pull request Dec 21, 2022
Copy link
Copy Markdown
Contributor

@florisvdg florisvdg left a comment

Choose a reason for hiding this comment

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

Isn't the real solution here to make the CLI-based action v2? And keep the curl-based v1?

Given that there have already been v1.1.x tags containing these changes, the path forward would be to create a v1.x.x release to undo the breaking changes. The changes can be added again in a v2 release.

@edif2008 edif2008 merged commit 0a7975f into main Dec 22, 2022
@edif2008 edif2008 deleted the fix/backwards-compatible branch December 22, 2022 10:46
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