Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions actions/setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ echo "Safe-output-projects support: ${SAFE_OUTPUT_PROJECTS_ENABLED}"
create_dir "${DESTINATION}"
echo "Created directory: ${DESTINATION}"

# Create /tmp/gh-aw directory so it exists before any activation scripts run
mkdir -p /tmp/gh-aw
Copy link

Copilot AI Mar 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script already uses create_dir for directory creation (likely centralizing error handling, permissions, logging, and consistent behavior). For consistency and to avoid bypassing any safeguards in create_dir, consider using create_dir \"/tmp/gh-aw\" here (and quoting the path) instead of calling mkdir -p directly.

Suggested change
mkdir -p /tmp/gh-aw
create_dir "/tmp/gh-aw"

Copilot uses AI. Check for mistakes.
echo "Created /tmp/gh-aw directory"

# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
JS_SOURCE_DIR="${SCRIPT_DIR}/js"
Expand Down