Files
screeps-deploy-action/.devcontainer/setup.sh
Philipp Horstenkamp 4316906497
All checks were successful
Lint / pre-commit Linting (push) Successful in 52s
chore: enforce linux line endings
Add .gitattributes and .editorconfig to enforce LF line endings. Update devcontainer settings.
2026-01-03 21:56:28 +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