appleboy / drone-ssh

Drone plugin for executing remote ssh commands
MIT License
239 stars 73 forks source link

Add a no_auto_env setting #242

Closed albertyw closed 1 year ago

albertyw commented 1 year ago

This pull request disables dotenv autoloading if the no_auto_env setting is set to "true".

As an alternative, see #243.

Fixes #239

codecov-commenter commented 1 year ago

Codecov Report

Merging #242 (cd70a21) into master (1a95b5f) will decrease coverage by 0.35%. The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #242      +/-   ##
==========================================
- Coverage   35.71%   35.36%   -0.35%     
==========================================
  Files           2        2              
  Lines         406      410       +4     
==========================================
  Hits          145      145              
- Misses        261      265       +4     
Impacted Files Coverage Δ
main.go 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

appleboy commented 1 year ago

fixed by #243