fix: use /bin/sh shebang in notify-issues-on-release script

What does this MR do and why?

The notify-issues-on-release CI job uses registry.gitlab.com/gitlab-org/cli:latest which is Alpine-based and does not have bash installed. The script had #!/bin/bash causing Alpine's sh to exit with code 127 (not found) when trying to find the interpreter.

Switched to #!/bin/sh and replaced the two bash-only constructs with POSIX equivalents:

  • set -euo pipefailset -eu (pipefail is not POSIX)
  • [[ ]] double-brackets and ==[ ] with grep -q

Verified with both checkbashisms and shellcheck.

MR acceptance checklist

  • This MR does not contain any breaking changes

Merge request reports

Loading