gitleaks / gitleaks-action

Protect your secrets using Gitleaks-Action
https://gitleaks.io
Other
330 stars 129 forks source link

GITLEAKS_NOTIFY_USER_LIST - does not work while setting up the workflow as a reusable workflow #128

Open chirag-rastogi opened 10 months ago

chirag-rastogi commented 10 months ago

I have setup the workflow env as in the main workflow and the "GITLEAKS_ENABLE_UPLOAD_ARTIFACT" is working as expected and no sarif is being uploaded with the action. However, GITLEAKS_NOTIFY_USER_LIST does not work as expected as gitleaks is not putting a comment ccing the user defined in input1. In fact, it does not do any comment.

env: GITLEAKS_NOTIFY_USER_LIST: ${{ inputs.input1 }} GITLEAKS_ENABLE_UPLOAD_ARTIFACT: ${{ inputs.input2 }}

aman-nankani-inno commented 8 months ago

Hello, did you get it to run? Even I am having the same error and the emails are not being sent out to the users mentioned in the list.