Commit a1cbcf9
authored
fix(ci): checkout the pr head instead of the default main head (#36311)
### Issue # (if applicable)
Closes #<issue number here>.
### Reason for this change
Fix the invalid revision range issues : https://github.com/aws/aws-cdk/actions/runs/19970012866/job/57272071527
Since the action checks out the main branch HEAD instead of PR branch HEAD : https://github.com/aws/aws-cdk/actions/runs/19970012866/job/57272071527#step:2:1094
Inspired from : https://github.com/aws/aws-cdk/blob/main/.github/workflows/integration-test-deployment.yml#L39C11-L39C57
### Description of changes
### Describe any new or updated permissions being added
### Description of how you validated changes
### Checklist
- [ ] 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 1cc503a commit a1cbcf9
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
| 55 | + | |
0 commit comments