This repository has been archived on 2026-05-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2020-10-06 16:15:20 +02:00
2020-10-06 14:17:06 +02:00
2020-10-06 14:53:52 +02:00
2020-10-06 16:15:20 +02:00
2020-10-06 15:59:37 +02:00
2020-10-06 14:17:06 +02:00
2020-10-06 14:55:22 +02:00

Django Action

A GitHub action for drawing a Django data model automatically.

Usage

Parameters

Parameter Required Default Description
commit_options - Custom git commit options
commit_message Added data schema Custom git commit message
file_pattern * Custom git add file pattern
output_path . Output path for generated files
pip_path requirements.txt Requirements path for the Django project
project_path ./ The path to manage.py

Example Config

name: Continuous Integration

# This action works with pull requests and pushes
on:
  pull_request:
  push:
    branches:
      - master

jobs:
  prettier:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          # Make sure the actual branch is checked out when running on pull requests
          ref: ${{ github.head_ref }}

      - name: Generate Data Schema
        uses: noah-software/django_action@v1.0
        with:
          # This part is also where you can pass other options, for example:
          pip_path: testfolder/app/requirements.txt

More documentation for writing a workflow can be found here.

Issues

Please report all bugs and feature request using the GitHub issues function. Thanks!

Description
GitHub action for generating a data model image for a Django project
Readme MIT 74 KiB
Languages
Shell 81.2%
Dockerfile 18.8%