Skip to content

Commit 89983a4

Browse files
Merge pull request #1 from erpranavjoshi/pranav
updated random thing
2 parents 67e5f0e + fd14d8f commit 89983a4

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/time-based-pr-approvals.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Enforce PR Approval Time Rules
22
on:
3-
pull_request_review:
4-
types: [submitted]
3+
pull_request:
4+
types: [opened, synchronize]
55

66
jobs:
77
check-approval-time:
@@ -26,7 +26,10 @@ jobs:
2626
PR_LABELS="${{ steps.labels.outputs.labels }}"
2727
CURRENT_HOUR=$(date -u +%H)
2828
ALLOWED_START=9 # 9 AM UTC
29-
ALLOWED_END=18 # 6 PM UTC
29+
ALLOWED_END=11 # 6 PM UTC
30+
31+
echo "PR Labels: $PR_LABELS"
32+
echo "Current UTC Hour: $CURRENT_HOUR"
3033
3134
echo "PR Labels: $PR_LABELS"
3235
echo "Current UTC Hour: $CURRENT_HOUR"

abc.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sdbcmxzhb

0 commit comments

Comments
 (0)