Skip to content

feat: ✨ enhance Docker image with engram, aleph, and shell env setup #3

feat: ✨ enhance Docker image with engram, aleph, and shell env setup

feat: ✨ enhance Docker image with engram, aleph, and shell env setup #3

Workflow file for this run

---
name: Pull Request validation
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
concurrency:
group: pr-validation-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
id: checkout
uses: actions/checkout@v5
- name: Setup toolchain with mise
uses: jdx/mise-action@v2
- name: Run prek hooks
run: prek run --all-files --show-diff-on-failure --color=always
- name: Build Docker image if Dockerfile changed
run: |
if git diff --name-only origin/${{ github.base_ref }} | grep -q '^Dockerfile$'; then
echo "Dockerfile changed — building image..."
docker build -t opencode-cli-pr:latest .
else
echo "Dockerfile not changed — skipping build."
fi