Files
screeps-deploy-action/.devcontainer/setup.sh
Philipp Horstenkamp 9ae6ada818
Some checks are pending
Lint / pre-commit Linting (push) Waiting to run
chore: enforce linux line endings
Add .gitattributes and .editorconfig to enforce LF line endings. Update devcontainer settings.
2026-01-03 20:54:25 +00: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