**Core Badge Verification Workflow** (`.github/workflows/badge-verification.yml`):
```yaml
name: Badge Verification
on:
schedule:
- cron: '0 0 * * *' # Daily at midnight UTC
push:
paths:
- '.github/workflows/**'
- 'package.json'
- 'requirements.txt'
workflow_dispatch:
jobs:
badge-verification:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Collect Repository Metrics
run: |
node scripts/collect-metrics.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Badge Status
run: |
node scripts/compute-badges.js
- name: Upload Badge Status
uses: actions/upload-artifact@v4
with:
name: badge-status
path: badge-status.json
# Checkout-core
# GitDigital Checkout Core
Event-driven payments, subscriptions, and webhooks core system.
## Features
- **Payments Processing**: Support for multiple payment providers (Stripe, PayPal, etc.)
- **Subscription Management**: Full subscription lifecycle with recurring billing
- **Webhook Handling**: Secure webhook processing and verification
- **Retry Mechanism**: Configurable retry strategies for failed operations
- **Event-Driven Architecture**: Emits events for all operations, decoupled from business logic
## Installation
```bash
npm install gitdigital-checkout-core