Skip to content
Merged
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
7 changes: 1 addition & 6 deletions .github/workflows/agentics-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ jobs:

validate_workflows:
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.operation == 'validate' && !github.event.repository.fork }}
runs-on: ubuntu-latest
runs-on: ubuntu-slim
permissions:
contents: read
issues: write
Expand Down Expand Up @@ -315,11 +315,6 @@ jobs:
- name: Build gh-aw
run: make build

Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

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

validate_workflows runs run_validate_workflows.cjs, which executes gh aw compile --validate ... --poutine. The poutine scanner is implemented via docker run (see pkg/cli/poutine.go), so this job needs a running Docker daemon. After removing the Docker start step (and switching to ubuntu-slim), validation may fail on runners where Docker isn’t already running. Consider re-adding an explicit Docker availability/daemon start check (or conditionally skipping --poutine when Docker is unavailable).

Suggested change
- name: Ensure Docker is available
shell: bash
run: |
set -euo pipefail
if ! command -v docker >/dev/null 2>&1; then
echo "Docker CLI is required for workflow validation with --poutine, but it is not installed."
exit 1
fi
if docker info >/dev/null 2>&1; then
echo "Docker daemon is already available."
exit 0
fi
echo "Docker daemon is not running; attempting to start it."
if command -v sudo >/dev/null 2>&1; then
sudo service docker start >/dev/null 2>&1 || sudo systemctl start docker >/dev/null 2>&1 || true
else
service docker start >/dev/null 2>&1 || systemctl start docker >/dev/null 2>&1 || true
fi
sleep 5
if ! docker info >/dev/null 2>&1; then
echo "Docker is required for workflow validation with --poutine, but the daemon could not be started."
exit 1
fi

Copilot uses AI. Check for mistakes.
- name: Start Docker daemon
run: |
sudo systemctl start docker
docker info

- name: Validate workflows and file issue on findings
uses: actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
env:
Expand Down
Loading
Loading