now = datetime.now() time_str = now.strftime("%H:%M:%S") date_str = now.strftime("%Y-%m-%d")
Start by creating a private repo today and writing your first attendance commit. absensi karyawan github exclusive
# Rule: Must check-in before 09:00 AM if [ $COMMIT_HOUR -gt 9 ] || ([ $COMMIT_HOUR -eq 9 ] && [ $COMMIT_MIN -gt 0 ]); then echo "⚠️ Late attendance detected for $ github.actor " # Create an Issue automatically for late arrival gh issue create --title "LATE: $ github.event.head_commit.timestamp " --body "Employee late by X minutes" else echo "✅ On time." fi env: GH_TOKEN: $ secrets.GITHUB_TOKEN now = datetime