Skip to content

Commit 925b262

Browse files
authored
Update pr-if-new-kernel.yml
1 parent 67560f4 commit 925b262

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pr-if-new-kernel.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
# We have to trigger our own workflow run because github does not do that when the pr is created by automation
3333
# This also means that we don't have the nice UI integration of test runs, so we add a comment to the workflow url for tracing purposes
3434
gh workflow run "build.yml" --ref "update-kernel"
35-
RUN_URL=$(gh run list --workflow=build.yml --limit=1 --json=url --jq='.[0].url')
35+
echo wait a few seconds until the workflow has started
36+
sleep 5
37+
RUN_URL=$(gh run list --workflow=build.yml --limit=1 --branch=update-kernel --json=url --jq='.[0].url')
3638
gh pr comment $UPDATE_PR_LINK --body "CI workflow created: $RUN_URL"
3739
fi
3840
env:

0 commit comments

Comments
 (0)