apexgantt 3.17.0 → 3.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,8 +21,16 @@ jobs:
21
21
 
22
22
  - name: Check commit message and extract version
23
23
  id: check
24
+ env:
25
+ # Passed as an environment variable, never interpolated into the
26
+ # script. `${{ }}` is substituted textually before bash parses, so a
27
+ # commit message containing a double quote breaks the script, and one
28
+ # containing $(...) or backticks would RUN in this job, which holds the
29
+ # npm publishing token. Merge commit messages include the PR title,
30
+ # which any outside contributor controls. This is not theoretical: it
31
+ # broke a run in apexcharts-js on 2026-07-27.
32
+ MSG: ${{ github.event.head_commit.message }}
24
33
  run: |
25
- MSG="${{ github.event.head_commit.message }}"
26
34
  if echo "$MSG" | grep -qE '^release: [0-9]+\.[0-9]+\.[0-9]+'; then
27
35
  VERSION=$(echo "$MSG" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+[^ ]*' | head -1)
28
36
  echo "version=$VERSION" >> $GITHUB_OUTPUT