Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Github action log show asterisk?

When running on a Github action runner the Maven log output shows only 3 asterisk (***) instead of the actual string

Warning: /home/runner/work/project/src/test/java/de/***/persistence/dao/DaoTest.java:98: Prefer java.time.ZonedDateTime

Where do these *** come from?

like image 847
brass monkey Avatar asked May 17 '26 12:05

brass monkey


1 Answers

Turned out that Github actions have a security feature that replaces strings that are also used as a secret. So if some log output just by accident contains the same string as used as a secret elsewhere it does get replaced with ***.

This is also mentioned in this issue.

like image 149
brass monkey Avatar answered May 21 '26 14:05

brass monkey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!