[Emails] Prevent EmailTemplates removal if there are scheduled emails linked to them #860
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint Code Base | |
# Documentation: | |
# https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
on: | |
pull_request: | |
branches: [ main, develop ] | |
jobs: | |
build: | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: github/super-linter@v5 | |
env: | |
DEFAULT_BRANCH: develop | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
LINTER_RULES_PATH: / | |
PYTHON_BLACK_CONFIG_FILE: pyproject.toml | |
PYTHON_ISORT_CONFIG_FILE: pyproject.toml | |
PYTHON_FLAKE8_CONFIG_FILE: .flake8 | |
FILTER_REGEX_EXCLUDE: (.*/migrations/.*|urls\.py) | |
VALIDATE_ALL_CODEBASE: false | |
VALIDATE_PYTHON_BLACK: true | |
VALIDATE_PYTHON_FLAKE8: true | |
VALIDATE_PYTHON_ISORT: true |