Use of << pipeline.git.tag >> in workflows.$name.when

Following snippet doesn’t create pipeline, when I push tag, it still requires filters.tags specified on every job

workflows:
  version: 2
  deploy_uat:
    when:
      equal: [uat, << pipeline.git.tag >>]
    jobs:
      - build
      - deploy_uat