mirror of
https://github.com/ow-mods/ow-mod-db.git
synced 2025-12-11 20:15:24 +01:00
Make issue comments for checker actually work
This commit is contained in:
parent
95fab9266a
commit
c7d14967d3
4
.github/workflows/check-new-mod.yml
vendored
4
.github/workflows/check-new-mod.yml
vendored
@ -25,11 +25,11 @@ jobs:
|
||||
- name: Get Mod Info
|
||||
id: get-mod-info
|
||||
run: |
|
||||
tmp="${{ github.event.pull_request.title }}"
|
||||
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:]_\/-]*)"
|
||||
ser="${{ github.event.pull_request.body }}"
|
||||
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
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user