Compare commits

...

3 Commits

Author SHA1 Message Date
Alexandre
3afb0b502b Remove ARMv7 architecture from README
Removed ARMv7 architecture from the README.
2026-03-30 17:12:38 +02:00
Alexandre
b595d806ff Fix variable name for addon comparison in workflow 2026-03-30 16:43:00 +02:00
Alexandre
a5621326f7 Fix existing comment check in workflow YAML 2026-03-30 16:36:48 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -28,11 +28,12 @@ jobs:
TEXT="${ISSUE_TITLE} ${ISSUE_BODY}"
TEXT_LOWER="$(printf '%s' "$TEXT" | tr '[:upper:]' '[:lower:]')"
ADDON_LOWER="$(printf '%s' "$addon" | tr '[:upper:]' '[:lower:]')"
while IFS= read -r addon; do
[ -z "$addon" ] && continue
[ -z "$ADDON_LOWER" ] && continue
if [[ "$TEXT_LOWER" == *"$addon"* ]]; then
if [[ "$TEXT_LOWER" == *"$ADDON_LOWER"* ]]; then
user="$(jq -r --arg addon "$addon" '.[$addon]' .github/addon_submitters.json)"
if [ -z "$user" ] || [ "$user" = "null" ]; then
continue
@@ -42,7 +43,7 @@ jobs:
comments_url="https://api.github.com/repos/${REPO}/issues/${ISSUE_NUMBER}/comments"
export GH_TOKEN="${GITHUB_TOKEN}"
existing="$(gh issue view "$ISSUE_NUMBER" --repo "$REPO" --json comments --jq '[.comments[] | select(.body | contains($marker))] | length')"
existing="$(gh issue view "$ISSUE_NUMBER" --repo "$REPO" --json comments | jq --arg marker "$marker" '[.comments[] | select(.body | contains($marker))] | length')"
if [ "$existing" -eq 0 ]; then
body=$(jq -cn --arg marker "$marker" --arg addon "$addon" --arg user "$user" '{body: ($marker + "\nHeads up @" + $user + ": this issue appears to mention `" + $addon + "`.")}')

View File

@@ -69,7 +69,6 @@ If you want to do add the repository manually, please follow the procedure highl
- %%STATS_AMD64%%
- %%STATS_AARCH64%%
- %%STATS_ARMV7%%
### Stars evolution