Skip to content

Commit c2edbff

Browse files
authored
[sycl-rel][CI] Add a token to bypass request limit (#19561)
In general it works without token, but sometimes the default limit is not enough.
1 parent a071554 commit c2edbff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sycl-rel-nightly-launch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# older >24h. That means the previous run already tested this commit.
2727
run: |
2828
if [ "$GITHUB_EVENT_NAME" = "schedule" ]; then
29-
latest_commit_time=$(curl -s https://api.github.com/repos/intel/llvm/commits/sycl-rel-6_2 | jq -r '.commit.committer.date')
29+
latest_commit_time=$(curl -s -H "Authorization: token $GH_TOKEN" https://api.github.com/repos/intel/llvm/commits/sycl-rel-6_2 | jq -r '.commit.committer.date')
3030
echo $latest_commit_time
3131
latest_commit_epoch=$(date -d "$latest_commit_time" +%s)
3232
now_epoch=$(date +%s)

0 commit comments

Comments
 (0)