.github/workflows/package-smoketest.yml expands github.event.pull_request.head.ref, base.ref and github.ref_name directly inside run: scripts. The head ref of a fork PR is attacker-chosen and may contain shell metacharacters. Fork PRs run without secrets, so the impact is low, but it is the script-injection pattern GitHub warns about.
Fix: pass these values through the step env: and use quoted shell variables.