All checks were successful
Lint / pre-commit Linting (push) Successful in 54s
Add .gitattributes and .editorconfig to enforce LF line endings. Update devcontainer settings. Reviewed-on: #57
12 lines
330 B
Bash
12 lines
330 B
Bash
#!/bin/bash
|
|
|
|
# 1. Fix Git Permissions (Critical in Docker)
|
|
git config --global --add safe.directory $(pwd)
|
|
|
|
# In your setup.sh or postCreateCommand
|
|
sudo chown -R node:node /home/node/.cache/
|
|
sudo chown -R node:node /workspaces/screeps-deploy-action/.git/hooks
|
|
# 2. Re-connect Git Hooks
|
|
pre-commit install
|
|
pre-commit install-hooks
|