forgejo/services/webhook
nightfurysl2001 b58d8e20fd feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704)
## Checklist

The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org).

### Tests for Go changes

(can be removed for JavaScript changes)

- I added test coverage for Go changes...
  - [x] in their respective `*_test.go` for unit tests.
  - [ ] in the `tests/integration` directory if it involves interactions with a live Forgejo server.
- I ran...
  - [ ] `make pr-go` before pushing

### Documentation

- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change.
- [x] I did not document these changes and I do not expect someone else to do it.

### Release notes

- [x] This change will be noticed by a Forgejo user or admin (feature, bug fix, performance, etc.). I suggest to include a release note for this change.
- [ ] This change is not visible to a Forgejo user or admin (refactor, dependency upgrade, etc.). I think there is no need to add a release note for this change.

Closes #4517

<!--start release-notes-assistant-->

## Release notes
<!--URL:https://codeberg.org/forgejo/forgejo-->
- Features
  - [PR](https://codeberg.org/forgejo/forgejo/pulls/11704): <!--number 11704 --><!--line 0 --><!--description VXBkYXRlIE1pY3Jvc29mdCBUZWFtcyB3ZWJob29rIHRvIHVzZSBBZGFwdGl2ZUNhcmQ=-->Update Microsoft Teams webhook to use AdaptiveCard<!--description-->
<!--end release-notes-assistant-->

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11704
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
2026-05-26 16:10:55 +02:00
..
shared Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
sourcehut chore: remove branding from context imports (#9628) 2025-10-11 01:52:51 +02:00
TestPushCommits feat: add commit limit for webhook payload (#6797) 2025-02-07 19:26:50 +00:00
default.go feat(ui): redesign migration selection screen (#6795) 2025-04-19 13:51:35 +00:00
default_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
deliver.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
deliver_test.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
dingtalk.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
dingtalk_test.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
discord.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
discord_test.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
feishu.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
feishu_test.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
general.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
general_test.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
gogs.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: move all test blank imports in a single package (#10662) 2026-01-02 05:32:32 +01:00
matrix.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
matrix_test.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
msteams.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
msteams_test.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
notifier.go feat: make upload URL compatible with GitHub API (#9285) 2025-09-15 15:53:35 +02:00
notifier_test.go Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
packagist.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
packagist_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
slack.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
slack_test.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
telegram.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
telegram_test.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00
webhook.go fix: allow test delivery for webhooks not enabled for push events (#11073) 2026-01-27 23:19:34 +01:00
webhook_test.go fix: allow test delivery for webhooks not enabled for push events (#11073) 2026-01-27 23:19:34 +01:00
wechatwork.go feat: Update Microsoft Teams webhook to use AdaptiveCard (#11704) 2026-05-26 16:10:55 +02:00