actions / actions/runner

`on.release` trigger runs only on new tags, but not with old ones

Open
#3,532 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the bug
on.release trigger is not triggered when a release is created (using Github UI) for an existing tag. However if a new tag is specified, it works.

To Reproduce
Steps to reproduce the behavior:

  1. Create a workflow that has a trigger
on:
  release:
  1. Create a tag in the git tree.
  2. Using Guthub UI, create and publish a release from the existing tag.

Expected behavior
Workflow is triggered.

Runner Version and Platform

Version of your runner?

OS of the machine running the runner? OSX/Windows/Linux/...

What's not working?

Workflow only triggered if new tag is specified, but for old tags it is not triggered.

Job Log Output

Runner and Worker's Diagnostic Logs

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the shown on: release workflow: create a tag, then publish a release for that existing tag through the GitHub UI. Trace the runner's release-event handling and compare it with the new-tag case; done means the workflow is triggered for both existing and newly created tags.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.