Make issue comments for checker actually work

This commit is contained in:
Ben C 2024-06-15 11:19:47 -04:00
parent 95fab9266a
commit c7d14967d3
No known key found for this signature in database

View File

@ -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