Trigger wrong Action when creating comment to the PR #10432

Closed
opened 2025-11-02 09:07:16 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @sillyguodong on GitHub (Mar 14, 2023).

Description

  1. add event in my actions config:
    image
  2. create a new PR from base repo
  3. create a comment in the step.2 PR
    In my case, the title of new PR is test pull_request_comment event
    image
    So, the title of Action should be test pull_request_comment event too. But in the UI, the title of the action is ok, actully.
    image
    I think the ok is the latest commit of main branch.
    image

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

build

Database

None

Originally created by @sillyguodong on GitHub (Mar 14, 2023). ### Description 1. add event in my actions config: ![image](https://user-images.githubusercontent.com/33891828/224969044-0c5149d5-2eed-483d-8d69-ff5c7ef90e55.png) 2. create a new PR from base repo 3. create a comment in the step.2 PR In my case, the title of new PR is `test pull_request_comment event` ![image](https://user-images.githubusercontent.com/33891828/224970677-7375ae4d-ba00-4588-8b54-2373e666631c.png) So, the title of Action should be `test pull_request_comment event` too. But in the UI, the title of the action is `ok`, actully. ![image](https://user-images.githubusercontent.com/33891828/224970346-6b920f44-d2c9-4383-82cd-b1095ddeb3ff.png) I think the `ok` is the latest commit of `main` branch. ![image](https://user-images.githubusercontent.com/33891828/224970484-88c7ad41-cd4e-44cf-b640-a20b8b0cb8dc.png) ### Gitea Version latest ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? build ### Database None
GiteaMirror added the type/bug label 2025-11-02 09:07:16 -06:00
Author
Owner

@sillyguodong commented on GitHub (Mar 14, 2023):

I made a test of the same operation on Github, the action is based on the lastest commit of main branch too.
So I close the issue
image
image

@sillyguodong commented on GitHub (Mar 14, 2023): I made a test of the same operation on Github, the action is based on the lastest commit of main branch too. So I close the issue ![image](https://user-images.githubusercontent.com/33891828/225026025-f022bbec-4f80-4af2-ae45-43a7b204efcd.png) ![image](https://user-images.githubusercontent.com/33891828/225026132-121ad594-0cf5-4b4e-a8c8-2f0aefb06465.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10432