Commit a3fcc32
committed
Fix check-gh-aw-lockfiles to use PR files API instead of git diff
A 3-dot `git diff base.sha...HEAD` over-includes upstream changes that
entered the PR branch via merges from main, which falsely triggers the
gh-aw compile and fails the lockfile check on PRs that did not modify
any gh-aw inputs.
Use the GitHub PR files API instead, which returns the canonical list
of files actually changed by the PR.1 parent 11369bc commit a3fcc32
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
191 | 194 | | |
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
195 | 202 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
| |||
0 commit comments