Skip to content

Commit c76705a

Browse files
authored
prefilling body
1 parent 6607130 commit c76705a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/Build-Kernel.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Build Kernel
22

33
on:
4-
# schedule:
5-
# - cron: '52 0 * * *'
4+
schedule:
5+
- cron: '52 */3 * * *'
66
workflow_dispatch:
77
inputs:
88
debug_enabled:
@@ -41,7 +41,7 @@ jobs:
4141
echo "NEW KERNEL SOURCE!!!!"
4242
echo "# KERNEL UPDATES" > $body
4343
echo >> $body
44-
cat $body
44+
echo $(wget -q https://api.github.com/repos/microsoft/WSL2-Linux-Kernel/releases/latest -O - | awk -F \" -v RS="," '/"body"/ {print $(NF-1)}') >> $body
4545
fi
4646
if [[ "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]]; then
4747
echo "NEW IMPROVEMENT!!!!"

0 commit comments

Comments
 (0)