Skip to content

Commit c40cc97

Browse files
Update .github/workflows/upstream-sysroot.yml
Co-authored-by: David Sanders <[email protected]>
1 parent 4e984f7 commit c40cc97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/upstream-sysroot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
if [ "${{ env.CURRENT_SHA }}" == "${{ env.UPSTREAM_SHA }}" ]; then
5454
echo "No changes found - sysroot scripts are up to date!"
5555
else
56-
curl -s "https://api.github.com/repos/chromium/chromium/commits?path=build/linux/sysroot_scripts&per_page=20" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" > commits.json
56+
gh api -X GET repos/chromium/chromium/commits -f path="build/linux/sysroot_scripts" -f per_page=20 > commits.json
5757
5858
COMMITS=$(
5959
jq -r --arg base_sha "${{ env.CURRENT_SHA }}" '

0 commit comments

Comments
 (0)