Commit 4b0ccc8
committed
ci: fix duplicate SDK-update PRs by matching on branch prefix
The existing-PR check filtered by --author 'app/github-actions', but PRs
are created via a GitHub App token (app/reveng-github), so the filter
always matched zero PRs and a new one was opened every run. The title
substring check was also broken (titles are "Update SDK to version X",
not "SDK update X"). Switch to searching open PRs by the sdk-update-
branch prefix, which this workflow itself owns.1 parent 341451c commit 4b0ccc8
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
58 | | - | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
65 | 73 | | |
66 | 74 | | |
67 | 75 | | |
| |||
0 commit comments