Commit 67ef21f
authored
ci(auto-enum-updater): replacing searching for pr with head and base instead of title (#35886)
### Reason for this change
The Auto Enum Updater action is failing because it attempts to create a new PR when there's already an existing PR with identical changes. The workflow should handle this scenario by closing the existing PR and creating a new one, but this functionality appears to be broken.
- Failed Job URL: https://github.com/aws/aws-cdk/actions/runs/18874502066/job/53878253437
- Workflow: `.github/workflows/enum-auto-updater.yml`
The issue is that when the workflow trying to find existing pr with `--search $}{tittle}`, it's not working.
### Description of changes
Instead of listing the existing pr using `--search`, this change lists the pr using `--base` and `--head`.
### Description of how you validated changes
The workflow has been tested in fork.
- Job: https://github.com/abidhasan-aws/aws-cdk/actions/runs/18906468702/job/53965818347
### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*1 parent aae21e2 commit 67ef21f
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
83 | 86 | | |
84 | | - | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
95 | | - | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
0 commit comments