Differentiate between tag and non-tag builds

Our CI config looks like this:

name: CI
on: [push]

When a new tag is pushed we get 2 identical CI runs, 1 for the commit and 1 for the tag. AFAICT, there’s no way to tell them apart. See:

Screenshot from 2019-11-25 16-10-59.png

It would be great to display the tag name instead of master or the commit hash on the related run.

1 Like

Specifying the branches and tags triggers to differentiate the builds doesn’t help either.

on:
  push:
    branches:
      - '*'
    tags:
      - 'v*'
2 Likes