Skip to content

Release created from an existing tag does not trigger an actions workflow #30619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mdawar opened this issue Apr 20, 2024 · 0 comments · Fixed by #30984
Closed

Release created from an existing tag does not trigger an actions workflow #30619

mdawar opened this issue Apr 20, 2024 · 0 comments · Fixed by #30984
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/gitea-actions related to the actions of Gitea type/bug

Comments

@mdawar
Copy link

mdawar commented Apr 20, 2024

Description

I've noticed that releases created from a tag that already exist won't trigger an actions workflow with release of type published.

But the workflow is triggered if the release creates the tag.

Here's a sample workflow:

name: Release Test

on:
  release:
    types:
      - published

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - run: echo "Release test"

I tried it on the web UI and the API.

Demo repo: https://try.gitea.io/mdawar/release-actions-demo

Gitea Version

1.21.11

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

2.44.0

Operating System

Linux

How are you running Gitea?

Docker image.

Database

SQLite

@lunny lunny added the topic/gitea-actions related to the actions of Gitea label Apr 21, 2024
@mdawar mdawar changed the title Release created form an existing tag does not trigger an actions workflow Release created from an existing tag does not trigger an actions workflow May 3, 2024
@Zettat123 Zettat123 added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label May 14, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Aug 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/gitea-actions related to the actions of Gitea type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants