Skip to content

Commit ef2edcf

Browse files
author
Roman
committed
add step Check if today is Saturday
1 parent f899c20 commit ef2edcf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/e2e-subtensor-tests.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,14 @@ jobs:
148148
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
149149

150150
steps:
151+
- name: Check if today is Saturday
152+
run: |
153+
day=$(date -u +%u)
154+
echo "Today is weekday $day"
155+
if [ "$day" -ne 6 ]; then
156+
echo "⏭️ Skipping: not Saturday"
157+
exit 78
158+
fi
151159
- name: Check-out repository
152160
uses: actions/checkout@v4
153161

0 commit comments

Comments
 (0)