You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use previous tag as base when "Compare Performance" workflow triggered by tag
The engine has three trigger events, each with their own base ref:
- push: parent commit
- pull request: PR base ref
- manual trigger: arbitrary ref selected by the user
The `push` event is triggered by both commit pushes and tag pushes. It turns out the github context field that provides
the parent commit ref is set to `0000000000000000000000000000000000000000` on a tag push, which caused the workflow to
fail. Although it would be possible to get the parent commit ref via a git command, this isn't a useful comparison to get
from a tag push. The more useful comparison will be against the previous tag.
0 commit comments