We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 67e5f0e + fd14d8f commit 89983a4Copy full SHA for 89983a4
.github/workflows/time-based-pr-approvals.yml
@@ -1,7 +1,7 @@
1
name: Enforce PR Approval Time Rules
2
on:
3
- pull_request_review:
4
- types: [submitted]
+ pull_request:
+ types: [opened, synchronize]
5
6
jobs:
7
check-approval-time:
@@ -26,7 +26,10 @@ jobs:
26
PR_LABELS="${{ steps.labels.outputs.labels }}"
27
CURRENT_HOUR=$(date -u +%H)
28
ALLOWED_START=9 # 9 AM UTC
29
- ALLOWED_END=18 # 6 PM UTC
+ ALLOWED_END=11 # 6 PM UTC
30
+
31
+ echo "PR Labels: $PR_LABELS"
32
+ echo "Current UTC Hour: $CURRENT_HOUR"
33
34
echo "PR Labels: $PR_LABELS"
35
echo "Current UTC Hour: $CURRENT_HOUR"
abc.txt
@@ -0,0 +1 @@
+sdbcmxzhb
0 commit comments