mirror of
https://github.com/bugsink/bugsink.git
synced 2026-01-02 03:10:25 -06:00
Tell contributors (and copilot) about the pre-commit hooks
This commit is contained in:
1
.github/copilot-instructions.md
vendored
1
.github/copilot-instructions.md
vendored
@@ -32,6 +32,7 @@ abstract generality. Python 3.12 is the standard environment.
|
||||
* Bugsink uses Tailwind via `django-tailwind`
|
||||
* Before committing, build the CSS and add it:
|
||||
`python manage.py tailwind build && git add theme/static/css/dist/styles.css`
|
||||
(this is done automatically if you use the pre-commit hook from the repo root)
|
||||
|
||||
##### Other
|
||||
|
||||
|
||||
4
.github/workflows/copilot-setup-steps.yml
vendored
4
.github/workflows/copilot-setup-steps.yml
vendored
@@ -24,6 +24,10 @@ jobs:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install project `pre-commit` hook
|
||||
run: |
|
||||
cp pre-commit .git/hooks/pre-commit
|
||||
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user