-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Closed
Copy link
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/gitea-actionsrelated to the actions of Gitearelated to the actions of Giteatype/bug
Description
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
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/gitea-actionsrelated to the actions of Gitearelated to the actions of Giteatype/bug