Skip to content

Conversation

@JordanSussman
Copy link
Collaborator

@JordanSussman JordanSussman commented Jun 11, 2023

Switch from using base64 encoded files to straight yaml files with the convertFileToGithubResponse function.

This changes makes it much easier to understand what the underlying file content is since you no longer need to do something like echo -n 'base64 encoded content' | base64 -D.

@JordanSussman JordanSussman requested a review from a team as a code owner June 11, 2023 14:34
"username": "octocat",
"items": []interface{}{
map[interface{}]interface{}{string("path"): string("docker"), string("source"): string("secret/docker")},
map[interface{}]interface{}{"path": "docker", "source": "secret/docker"},
Copy link
Collaborator Author

@JordanSussman JordanSussman Jun 11, 2023

Choose a reason for hiding this comment

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

The string is redundant since Go is able to infer that anything within "" is already a string.

@codecov
Copy link

codecov bot commented Jun 11, 2023

Codecov Report

Merging #881 (51da78b) into main (0410f86) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #881   +/-   ##
=======================================
  Coverage   71.28%   71.28%           
=======================================
  Files         303      303           
  Lines       12374    12374           
=======================================
  Hits         8821     8821           
  Misses       3127     3127           
  Partials      426      426           

Copy link
Contributor

@jbrockopp jbrockopp left a comment

Choose a reason for hiding this comment

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

LGTM

@ecrupper ecrupper merged commit d51b1c3 into main Jun 12, 2023
@ecrupper ecrupper deleted the refactor-template-tests branch June 12, 2023 14:38
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.

4 participants