mirror of
https://github.com/ow-mods/ow-mod-db.git
synced 2025-12-11 20:15:24 +01:00
Update check-new-mod.yml
This commit is contained in:
parent
818b24064b
commit
127a0221ca
2
.github/workflows/check-new-mod.yml
vendored
2
.github/workflows/check-new-mod.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user