Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "PHP",
"image": "mcr.microsoft.com/devcontainers/php",
"postCreateCommand": ".devcontainer/install-dependencies.sh"
}
20 changes: 20 additions & 0 deletions .devcontainer/install-dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

if [ -f "composer.json" ]; then
echo "Found composer.json in project root. Installing dependencies..."
composer install --no-interaction --ignore-platform-reqs
echo "✅ PHP dependencies installed successfully in project root."
else
echo "⚠️ No composer.json in project root. Searching for composer.json files in subdirectories..."

find . -type f -name "composer.json" | while read composer_file; do
dir=$(dirname "$composer_file")
echo "Installing dependencies in $dir..."
(cd "$dir" && composer install --no-interaction --ignore-platform-reqs)
if [ $? -eq 0 ]; then
echo "✅ Dependencies installed successfully in $dir."
else
echo "❌ Failed to install dependencies in $dir."
fi
done
fi
19 changes: 19 additions & 0 deletions .github/workflows/junie.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Junie
run-name: "Junie run ${{ inputs.run_id }}"
permissions:
contents: write
"on":
workflow_dispatch:
inputs:
run_id:
description: id of workflow process
required: true
workflow_params:
description: stringified params
required: true
jobs:
call-workflow-passing-data:
uses: jetbrains-junie/junie-workflows/.github/workflows/ej-issue.yml@main
with:
workflow_params: "${{ inputs.workflow_params }}"
junie_ide: PhpStorm