lint-with-darker-ruff.yml expands github.event.pull_request.base.repo.full_name and the base ref directly inside a run: script. Values from the event should be passed through env: and referenced as shell variables, per GitHub's script-injection guidance.
Fix: pass BASE_REPO and BASE_REF via env:.