Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6.3k
feat(action): issue change title notifications#33050
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
- Add `IssueChangeTitle` method to handle issue title changes- Add `notifyIssueChangeWithTitleOrContent` method to generalize notification handling for issue title or content changes- Replace hardcoded `api.HookIssueEdited` with dynamic `action` parameter in notification payloadsSigned-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
wxiaoguang commentedDec 31, 2024
And the "action" should be hard-coded to To distinguish them, the proper approach is to use the |
6c89de4 intogo-gitea:mainUh oh!
There was an error while loading.Please reload this page.
- Add `IssueChangeTitle` method to handle issue title changes- Add `notifyIssueChangeWithTitleOrContent` method to generalizenotification handling for issue title or content changesaction file as below:```yamlname: Semantic Pull Requeston: pull_request_target: types: [edited]```---------Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>Co-authored-by: Giteabot <teabot@gitea.io>Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Backport#33050 by appleboyaction file as below:```yamlname: Semantic Pull Requeston: pull_request_target: types: [edited]```Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* giteaofficial/main: [skip ci] Updated translations via Crowdin unset XDG_HOME_CONFIG as gitea manages configuration locations (go-gitea#33067) Refactor repo-new.ts (go-gitea#33070) Refactor pull-request compare&create page (go-gitea#33071) feat: link to nuget dependencies (go-gitea#26554) Remove some unnecessary template helpers (go-gitea#33069) Inherit submodules from template repository content (go-gitea#16237) [skip ci] Updated translations via Crowdin feat(action): issue change title notifications (go-gitea#33050) Use project's redirect url instead of composing url (go-gitea#33058) Fix unittest and repo create bug (go-gitea#33061) Fix locale type (go-gitea#33059) Refactor maven package registry (go-gitea#33049) Optimize the installation page (go-gitea#32994) [Feature] Private README.md for organization (go-gitea#32872) Make issue suggestion work for new PR page (go-gitea#33035) Add IntelliJ Gateway's .uuid to gitignore (go-gitea#33052)
IssueChangeTitlemethod to handle issue title changesnotifyIssueChangeWithTitleOrContentmethod to generalize notification handling for issue title or content changesapi.HookIssueEditedwith dynamicactionparameter in notification payloadsaction file as below: