gitea/services/pull
Zettat123 f4e38e6367
Fix Actions `pull_request.paths` being triggered incorrectly by rebase (#36045)
Partially fix #34710 

The bug described in #34710 can be divided into two parts: `push.paths`
and `pull_request.paths`. This PR fixes the issue related to
`pull_request.paths`. The root cause is that the check for whether the
workflow can be triggered happens **before** updating the PR’s merge
base. This causes the file-change detection to use the old merge base.
Therefore, we need to update the merge base first and then check whether
the workflow can be triggered.
2025-11-28 19:33:52 +07:00
..
check.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
check_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
comment.go Fix review request webhook bug (#35339) (#35723) 2025-10-23 20:08:21 +07:00
commit_status.go Use git model to detect whether branch exist instead of gitrepo method (#35459) 2025-10-25 10:08:25 +07:00
commit_status_test.go Fix required contexts and commit status matching bug (#34815) 2025-06-22 23:31:46 +07:00
compare.go Move git config/remote to gitrepo package and add global lock to resolve possible conflict when updating repository git config file (#35151) 2025-09-01 18:47:04 +07:00
edits.go
lfs.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +07:00
merge.go Fix various permission & login related bugs (#36002) 2025-11-22 07:16:08 +07:00
merge_ff_only.go Move git command to git/gitcmd (#35483) 2025-09-15 23:33:12 +07:00
merge_merge.go Move git command to git/gitcmd (#35483) 2025-09-15 23:33:12 +07:00
merge_prepare.go Fix merge panic (#35606) 2025-10-12 04:24:00 +07:00
merge_rebase.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
merge_squash.go Allow empty commit when merging pull request with squash style (#35989) 2025-11-22 06:02:25 +07:00
merge_test.go Always use an empty line to separate the commit message and trailer (#34512) 2025-06-02 06:29:16 +07:00
patch.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
patch_unmerged.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
protected_branch.go Use git model to detect whether branch exist instead of gitrepo method (#35459) 2025-10-25 10:08:25 +07:00
pull.go Fix Actions `pull_request.paths` being triggered incorrectly by rebase (#36045) 2025-11-28 19:33:52 +07:00
pull_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
review.go Fix Actions `pull_request.paths` being triggered incorrectly by rebase (#36045) 2025-11-28 19:33:52 +07:00
review_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
reviewer.go Fix team permissions (#34827) 2025-06-24 21:24:09 +07:00
reviewer_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
temp_repo.go Use git model to detect whether branch exist instead of gitrepo method (#35459) 2025-10-25 10:08:25 +07:00
update.go Fix various permission & login related bugs (#36002) 2025-11-22 07:16:08 +07:00
update_rebase.go Add GITEA_PR_INDEX env variable to githooks (#35938) 2025-11-14 04:21:05 +07:00