]> source.dussan.org Git - gitea.git/commit
Fixing the issue when status check per rule matches multiple actions (#29631) (#29655)
authorGiteabot <teabot@gitea.io>
Fri, 8 Mar 2024 05:24:32 +0000 (13:24 +0800)
committerGitHub <noreply@github.com>
Fri, 8 Mar 2024 05:24:32 +0000 (13:24 +0800)
commit76b6754c3a42e6f1d675fe9f9d66a65954cb85d1
treeca3d828ec9fcdeaf97e16ffa4bef202708c37920
parent0b5a4e7db483cbbfd8ccb666a11c77e17d59ea08
Fixing the issue when status check per rule matches multiple actions (#29631) (#29655)

Backport #29631 by @charles7668

Close #29628
rule
```
Test / Build*
Test / Build *
Test / Build 2*
Test / Build 1*
```

![image](https://github.com/go-gitea/gitea/assets/30816317/19bef0a9-fa97-43c5-887b-dece76064aa8)
rule2
```
Test / Build*
Test / Build 1*
```

![image](https://github.com/go-gitea/gitea/assets/30816317/19bef0a9-fa97-43c5-887b-dece76064aa8)

rule3
```
Test / Build*
Test / Build 1*
NotExist*
```

![image](https://github.com/go-gitea/gitea/assets/30816317/f6a5e832-2e1b-4049-915b-45bec5ef070c)

Co-authored-by: charles <30816317+charles7668@users.noreply.github.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
services/pull/commit_status.go
services/pull/commit_status_test.go [new file with mode: 0644]