diff --git a/.github/workflows/validate-request.yml b/.github/workflows/validate-request.yml index e76b4f96..84c13e6d 100644 --- a/.github/workflows/validate-request.yml +++ b/.github/workflows/validate-request.yml @@ -189,4 +189,26 @@ jobs: > > If either email format is invalid or the emails do not match, please update the issue description accordingly. + > [!TIP] + > Once the emails are correctly formatted and match, they will be automatically obfuscated for security. + See details at https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} + + - name: Encode emails + id: encode_emails + if: + ${{ success() && steps.check_email_encryption.outputs.encoded == + 'false' && steps.check_email_format.outputs.valid == 'true' && + steps.check_confirm_email_format.outputs.valid == 'true' && + steps.check_emails_match.outputs.valid == 'true' }} + run: | + gh workflow run update-issue-from-workflow.yml \ + -f issue_number=$ISSUE_NUMBER \ + -f command_name=$COMMAND_NAME + gh issue comment $ISSUE_NUMBER \ + -b "Workflow **update-issue-from-workflow.yml** triggered by **validate-request.yml** for command $COMMAND_NAME
\ +
\ + For details, see https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}_" + env: + ISSUE_NUMBER: ${{ steps.collect_inputs.outputs.issue_number }} + COMMAND_NAME: encode_email