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
3 Likes

This is exactly what I am looking for.

I know that if I want to run multiple jobs in a workflow that is triggered by a tag, I need to set a filter for every job.

However, it is very inconvenient.

I would like to be able to omit redundant description only in the case of when in workflow.