File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 pull_request :
7- branches : [main]
87
98jobs :
109 test :
2625 copier -f -d docker=True -d docs=True . build/ && cd build/
2726 poetry run task lint
2827 - name : Push rendered project
28+ if : github.ref == 'refs/heads/main' && github.event_name == 'push'
2929 run : |
3030 REMOTE=https://${GITHUB_ACTOR}:${{ secrets.GH_PAT }}@github.com/${GITHUB_REPOSITORY}.git
3131 git -C build push -fu $REMOTE HEAD:rendered
Original file line number Diff line number Diff line change @@ -5,22 +5,24 @@ description = "{{project_description}}"
55authors = ["{{author_name}} <{{author_email}}>"]
66repository = "https://github.com/{{repo_username}}/{{repo_name}}"
77packages = [{ include = "{{project_name}}", from = "src" }]
8- {% if private %} classifiers = ["Private :: Do Not Upload"]{% - endif %}
8+ {% - if private %}
9+ classifiers = ["Private :: Do Not Upload"]
10+ {% - endif %}
911
1012[tool.poetry.dependencies]
1113python = "^3.9"
1214
1315[tool.poetry.dev-dependencies]
1416black = "*"
1517flake8 = "*"
16- pyproject-flake8 = "*"
1718isort = "*"
1819{% if docs -%}
1920mkdocs = "*"
2021mkdocs-material = "*"
2122{% endif -%}
2223mypy = "*"
2324pre-commit = "*"
25+ pyproject-flake8 = "*"
2426pytest = "*"
2527taskipy = "*"
2628
You can’t perform that action at this time.
0 commit comments