Update check-new-mod.yml

This commit is contained in:
Ben C 2024-07-28 14:36:56 -04:00 committed by GitHub
parent 818b24064b
commit 127a0221ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ jobs:
tmp="${{ github.event.pull_request.title && github.event.pull_request.title || github.event.issue.title }}"
echo "modUniqueName=${tmp:13}" >> $GITHUB_ENV
pat="https://github.com/([[:alnum:]_\/\-\.]*)"
pat="https://github.com/(.*)"
ser="${{ github.event.pull_request.body && github.event.pull_request.body || github.event.issue.body }}"
if [[ $ser =~ $pat ]]; then
echo "modRepo=${BASH_REMATCH[1]}" >> $GITHUB_ENV