You can create a variable that can be used in the pipeline name:
name
name: My Pipeline - $(SHORT_SHA) variables: - name: SHORT_SHA value: $[ substring(variables['Build.SourceVersion'], 0, 7) ]