Files
screeps-deploy-action/.devcontainer/setup.sh
Philipp Horstenkamp a14206d32c
All checks were successful
Lint / pre-commit Linting (push) Successful in 54s
chore: enforce linux line endings (#57)
Add .gitattributes and .editorconfig to enforce LF line endings. Update devcontainer settings.

Reviewed-on: #57
2026-01-03 21:57:34 +01:00

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