33fb9a8452
- Order confirmation, shipped, and cancelled email templates - Uses @react-email/components for professional HTML emails - Sends admin and customer notifications - Integrates with Resend for email delivery - Webhook handlers for ORDER_CREATED, ORDER_FULFILLED, ORDER_CANCELLED - Docker image optimized for production - Persistent auth data storage via PVC
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
name: Check Licenses
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
# Labels are needed to handle external contributors
|
|
- labeled
|
|
- unlabeled
|
|
paths:
|
|
# Self
|
|
- ".github/workflows/check-licenses.yaml"
|
|
# Python Ecosystem
|
|
- "**/pyproject.toml"
|
|
- "**/setup.py"
|
|
- "**/requirements*.txt"
|
|
- "**/Pipfile.lock"
|
|
- "**/poetry.lock"
|
|
# JS/TS Ecosystem
|
|
- "**/package.json"
|
|
- "**/pnpm-lock.yaml"
|
|
- "**/package-lock.json"
|
|
|
|
jobs:
|
|
default:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
uses: saleor/saleor-internal-actions/.github/workflows/run-license-check.yaml@v1
|
|
with:
|
|
# List of ecosystems to scan.
|
|
ecosystems: >-
|
|
python
|
|
javascript
|
|
# Grant rules (https://github.com/anchore/grant/blob/4362dc22cf5ea9baeccfa59b2863879afe0c30d7/README.md#usage)
|
|
rules: |
|
|
# Explicitly allow LGPL as "*GPL*" rule will cause to reject them otherwise.
|
|
- pattern: "*lgpl*"
|
|
name: "allow-lgpl"
|
|
mode: "allow"
|
|
reason: "LGPL is allowed."
|
|
- pattern: "*gpl*"
|
|
name: "deny-gpl"
|
|
mode: "deny"
|
|
reason: "GPL licenses are not compatible with BSD-3-Clause"
|
|
- pattern: "*proprietary*"
|
|
name: "deny-proprietary"
|
|
mode: "deny"
|