Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
List of MorphoCloudWorkflow changes:

```
$ git shortlog 7bc926d..be96f27 --no-merges
Jean-Christophe Fillion-Robin (1):
      feat(validate-request): Automatically encode emails if valid and matching
```

See MorphoCloud/MorphoCloudWorkflow@7bc926d...be96f27
  • Loading branch information
jcfr committed Oct 23, 2024
1 parent c2ca011 commit 1537bf9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/validate-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <tt>$COMMAND_NAME</tt><br> \
<br> \
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

0 comments on commit 1537bf9

Please sign in to comment.