Commit 61a17aa
committed
ci: maintainer_check: Check out "merged" MAINTAINERS.yml
When a pull request is based off an old commit in the base branch (usually
`main`), the MAINTAINERS file from the `pull/NUMBER/head` ref may contain
out-of-date changes, and running diff between it and the MAINTAINERS file
from the latest base branch may return more changes than what is actually
made in the pull request.
This commit updates the workflow to check out the MAINTAINERS file from the
`pull/NUMBER/merge` ref, which is a temporary ref created by GitHub with
the pull request commits merged into the base branch.
Signed-off-by: Stephanos Ioannidis <[email protected]>1 parent ced0cc3 commit 61a17aa
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments