-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Act runner doesn't trigger the event #25093
Comments
The default |
Duplicate with act_runner #229 |
Thanks but it didn't work. Nothing's changed. Same act_runner logs and same result.
As said, I talked with a dokku/github-action maintainer and he says the example works flawlessly using Github. |
Hi @kamzata , I can't reproduce this issue. The Some questions:
|
Yes, I have. It's in the head branch ( Please, check the recording. |
Ah, yes. Thanks for the video recording, I reproduced the issue. This is a bug from the Gitea side and I'll send a PR to fix it. |
Thank you. Do you know when the fix will be available in the next Gitea package in Debian repository? |
Backport #25144 by @Zettat123 Fix #25093 If [`WithPullRequest`](https://github.com/go-gitea/gitea/blob/679b1f7949aa40d4f962ef27f91b0b384b9c56a5/services/actions/notifier_helper.go#L90-L96) is not called, the `Ref` in [`notifyInput`](https://github.com/go-gitea/gitea/blob/679b1f7949aa40d4f962ef27f91b0b384b9c56a5/services/actions/notifier_helper.go#L55-L65) will be empty, so the workflows in the head branch will not be found and triggered. Co-authored-by: Zettat123 <[email protected]>
Backport #25144 by @Zettat123 Fix #25093 If [`WithPullRequest`](https://github.com/go-gitea/gitea/blob/679b1f7949aa40d4f962ef27f91b0b384b9c56a5/services/actions/notifier_helper.go#L90-L96) is not called, the `Ref` in [`notifyInput`](https://github.com/go-gitea/gitea/blob/679b1f7949aa40d4f962ef27f91b0b384b9c56a5/services/actions/notifier_helper.go#L55-L65) will be empty, so the workflows in the head branch will not be found and triggered.
…a#25196) Backport go-gitea#25144 by @Zettat123 Fix go-gitea#25093 If [`WithPullRequest`](https://github.com/go-gitea/gitea/blob/679b1f7949aa40d4f962ef27f91b0b384b9c56a5/services/actions/notifier_helper.go#L90-L96) is not called, the `Ref` in [`notifyInput`](https://github.com/go-gitea/gitea/blob/679b1f7949aa40d4f962ef27f91b0b384b9c56a5/services/actions/notifier_helper.go#L55-L65) will be empty, so the workflows in the head branch will not be found and triggered. Co-authored-by: Zettat123 <[email protected]> (cherry picked from commit de6ac4b)
Description
I'm using Dokku and I'm trying to set up a CI/CD with Gitea. I implemented the Gitea actions following this article with act_runner version v0.1.8 and I tried to use the github-actions for Dokku. Therefore I created a simple workflow and it worked great. Then I created a review-app workflow as in this example which create and deploy an app on every
pull request
and here I find a issue: the app is correctly created on the pull request but it doesn't be destroyed when the pull request is closed or merged.The act_runner logs says:
and when I'm closing the pull request nothing happen and even the act_runner logs don't add anything.
I talked with a dokku/github-action maintainer and he says it works using Github.
Gitea Version
Gitea version 1.19.3 built with GNU Make 4.1, go1.20.4 : bindata, sqlite, sqlite_unlock_notify
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
git version 2.34.1
Operating System
No response
How are you running Gitea?
act_runner version v0.1.8
Database
None
The text was updated successfully, but these errors were encountered: