diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66574b3b..605f468b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Install gh-aw +name: Compile workflows with latest gh-aw release on: push: diff --git a/.github/workflows/compile-workflows.yml b/.github/workflows/compile-workflows.yml deleted file mode 100644 index c5816448..00000000 --- a/.github/workflows/compile-workflows.yml +++ /dev/null @@ -1,113 +0,0 @@ -name: Compile Workflows - -on: - push: - branches: [ main ] - paths: - - 'workflows/**' - - '.github/workflows/compile-workflows.yml' - pull_request: - branches: [ main ] - paths: - - 'workflows/**' - - '.github/workflows/compile-workflows.yml' - workflow_dispatch: - -jobs: - compile-workflows: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Install gh CLI - run: | - type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y) - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \ - && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \ - && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \ - && sudo apt update \ - && sudo apt install gh -y - - - name: Install gh aw extension - run: | - gh extension install githubnext/gh-aw || gh extension upgrade githubnext/gh-aw - env: - GH_TOKEN: ${{ github.token }} - - - name: Clean up existing lock files - run: | - echo "Cleaning up existing .lock.yml files..." - find workflows -name "*.lock.yml" -type f -delete || true - echo "Cleanup complete" - - - name: Compile workflows - run: | - set -e - echo "Compiling workflows..." - - # Find all workflow markdown files, excluding shared components - workflow_files=$(find workflows -name "*.md" -type f | grep -v "workflows/agentics/shared/") - - if [ -z "$workflow_files" ]; then - echo "No workflow files found" - exit 1 - fi - - echo "Found workflow files:" - echo "$workflow_files" - echo "" - - failed_compilations=() - compiled_count=0 - - # Compile each workflow - for workflow_file in $workflow_files; do - echo "Compiling $workflow_file..." - - if gh aw compile --validate "$workflow_file"; then - echo "✅ Successfully compiled $workflow_file" - compiled_count=$((compiled_count + 1)) - else - echo "❌ Failed to compile $workflow_file" - failed_compilations+=("$workflow_file") - fi - echo "" - done - - echo "Compilation Summary:" - echo "Successfully compiled: $compiled_count workflows" - - if [ ${#failed_compilations[@]} -gt 0 ]; then - echo "Failed compilations: ${#failed_compilations[@]}" - echo "Failed workflows:" - for failed_workflow in "${failed_compilations[@]}"; do - echo " - $failed_workflow" - done - exit 1 - else - echo "All workflows compiled successfully! 🎉" - fi - env: - GH_TOKEN: ${{ github.token }} - - - name: Check for generated YAML files - run: | - echo "Checking for generated YAML files..." - - # Look for generated .lock.yml files in workflows directory - lock_yml_files=$(find workflows -name "*.lock.yml" -type f | grep -v "workflows/agentics/shared/" || true) - - if [ -n "$lock_yml_files" ]; then - echo "Generated .lock.yml files:" - echo "$lock_yml_files" - - echo "" - echo "Compilation generated $(echo "$lock_yml_files" | wc -l) workflow files:" - for lock_yml_file in $lock_yml_files; do - echo " ✅ $lock_yml_file" - done - else - echo "⚠️ No generated .lock.yml files found in workflows/" - fi diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml new file mode 100644 index 00000000..39609ede --- /dev/null +++ b/.github/workflows/typos.yml @@ -0,0 +1,21 @@ +name: Typos + +on: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + typos: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Check for typos + uses: crate-ci/typos@v1.29.4 diff --git a/docs/daily-accessibility-review.md b/docs/daily-accessibility-review.md index d14579c9..103cc89d 100644 --- a/docs/daily-accessibility-review.md +++ b/docs/daily-accessibility-review.md @@ -32,7 +32,7 @@ gh aw run daily-accessibility-review ## Configuration -This workflow requires no configuration and works out of the box. You can use local configuation to specify which accessibility standards to check (e.g., WCAG 2.1, WCAG 2.2), types of accessibility issues to prioritize, and reporting format. Local configuration can be done in `.github/workflows/agentics/daily-accessibility-review.config.md`. +This workflow requires no configuration and works out of the box. You can use local configuration to specify which accessibility standards to check (e.g., WCAG 2.1, WCAG 2.2), types of accessibility issues to prioritize, and reporting format. Local configuration can be done in `.github/workflows/agentics/daily-accessibility-review.config.md`. After editing run `gh aw compile` to update the workflow and commit all changes to the default branch. diff --git a/docs/daily-dependency-updates.md b/docs/daily-dependency-updates.md index cac12c0c..24355ca6 100644 --- a/docs/daily-dependency-updates.md +++ b/docs/daily-dependency-updates.md @@ -42,7 +42,7 @@ gh aw run daily-dependency-updates ## Configuration -This workflow requires no configuration and works out of the box. You can use local configuation to specify dependency management tools (npm, pip, maven, etc.), customize dependency update strategies and version constraints, onfigure which dependencies to include/exclude from automated updates. Local configuration can be done in `.github/workflows/agentics/daily-dependency-updates.config.md`. +This workflow requires no configuration and works out of the box. You can use local configuration to specify dependency management tools (npm, pip, maven, etc.), customize dependency update strategies and version constraints, configure which dependencies to include/exclude from automated updates. Local configuration can be done in `.github/workflows/agentics/daily-dependency-updates.config.md`. diff --git a/docs/daily-perf-improver.md b/docs/daily-perf-improver.md index 3aed5fff..c5b9515e 100644 --- a/docs/daily-perf-improver.md +++ b/docs/daily-perf-improver.md @@ -58,7 +58,7 @@ gh aw run daily-perf-improver --repeat 180 2. The first run of the workflow will also create an issue in the repository with a plan for improving performance. You can comment on this issue to provide feedback or adjustments to the plan. Comments will not be picked up until the next run. -3. Use local configuation to specify performance testing tools and benchmarking frameworks, optimization targets, performance metrics, and profiling strategies. Local configuration can be done in `.github/workflows/agentics/daily-perf-improver.config.md`. +3. Use local configuration to specify performance testing tools and benchmarking frameworks, optimization targets, performance metrics, and profiling strategies. Local configuration can be done in `.github/workflows/agentics/daily-perf-improver.config.md`. After editing run `gh aw compile` to update the workflow and commit all changes to the default branch. diff --git a/docs/daily-plan.md b/docs/daily-plan.md index ceb97940..9d55ba3c 100644 --- a/docs/daily-plan.md +++ b/docs/daily-plan.md @@ -30,7 +30,7 @@ gh aw run daily-plan ## Configuration -This workflow requires no configuration and works out of the box. You can use local configuation to specify planning focus areas, reporting format, and frequency. Local configuration can be done in `.github/workflows/agentics/daily-plan.config.md`. +This workflow requires no configuration and works out of the box. You can use local configuration to specify planning focus areas, reporting format, and frequency. Local configuration can be done in `.github/workflows/agentics/daily-plan.config.md`. After editing run `gh aw compile` to update the workflow and commit all changes to the default branch. diff --git a/docs/daily-qa.md b/docs/daily-qa.md index 967c740b..4a0c7fb2 100644 --- a/docs/daily-qa.md +++ b/docs/daily-qa.md @@ -32,7 +32,7 @@ gh aw run daily-qa ## Configuration -This workflow requires no configuration and works out of the box. You can use local configuation to specify QA tasks, testing scenarios, reporting format, and frequency. Local configuration can be done in `.github/workflows/agentics/daily-qa.config.md`. +This workflow requires no configuration and works out of the box. You can use local configuration to specify QA tasks, testing scenarios, reporting format, and frequency. Local configuration can be done in `.github/workflows/agentics/daily-qa.config.md`. diff --git a/docs/daily-team-status.md b/docs/daily-team-status.md index 74f63fe3..b75a76b2 100644 --- a/docs/daily-team-status.md +++ b/docs/daily-team-status.md @@ -30,7 +30,7 @@ gh aw run daily-team-status ## Configuration -This workflow requires no configuration and works out of the box. You can use local configuation to customize triage criteria, labeling logic, customize issue categorization, modify automated responses. Local configuration can be done in `.github/workflows/agentics/daily-team-status.config.md`. +This workflow requires no configuration and works out of the box. You can use local configuration to customize triage criteria, labeling logic, customize issue categorization, modify automated responses. Local configuration can be done in `.github/workflows/agentics/daily-team-status.config.md`. 2. Add MCPs to integrate with project management tools diff --git a/docs/daily-test-improver.md b/docs/daily-test-improver.md index 3a4677dd..f3e6f6c9 100644 --- a/docs/daily-test-improver.md +++ b/docs/daily-test-improver.md @@ -52,7 +52,7 @@ gh aw run daily-test-improver 2. The first run of the workflow will also create an issue in the repository with a plan for improving test coverage. You can comment on this issue to provide feedback or adjustments to the plan. Comments will not be picked up until the next run. -3. Use local configuation or comment on the plan to specify test generation strategies, high-priority areas and coverage targets. Local configuration can be done in `.github/workflows/agentics/daily-test-improver.config.md`. +3. Use local configuration or comment on the plan to specify test generation strategies, high-priority areas and coverage targets. Local configuration can be done in `.github/workflows/agentics/daily-test-improver.config.md`. After editing run `gh aw compile` to update the workflow and commit all changes to the default branch. diff --git a/docs/issue-triage.md b/docs/issue-triage.md index 8d4ca55f..bf1cad9a 100644 --- a/docs/issue-triage.md +++ b/docs/issue-triage.md @@ -26,7 +26,7 @@ You can't start a run of this workflow directly as it is triggered in the contex ## Configuration -This workflow requires no configuration and works out of the box. You can use local configuation to customize triage criteria, labeling logic, customize issue categorization, modify automated responses. Local configuration can be done in `.github/workflows/agentics/issue-triage.config.md`. +This workflow requires no configuration and works out of the box. You can use local configuration to customize triage criteria, labeling logic, customize issue categorization, modify automated responses. Local configuration can be done in `.github/workflows/agentics/issue-triage.config.md`. 2. Add MCPs to integrate with project management tools diff --git a/docs/update-docs.md b/docs/update-docs.md index 145081d9..db6bf041 100644 --- a/docs/update-docs.md +++ b/docs/update-docs.md @@ -46,7 +46,7 @@ gh aw run update-docs ## Configuration -This workflow requires no configuration and works out of the box. You can use local configuation to configure documentation frameworks, documentation structure, themes, files, directories. Local configuration can be done in `.github/workflows/agentics/update-docs.config.md`. +This workflow requires no configuration and works out of the box. You can use local configuration to configure documentation frameworks, documentation structure, themes, files, directories. Local configuration can be done in `.github/workflows/agentics/update-docs.config.md`. diff --git a/docs/weekly-research.md b/docs/weekly-research.md index 080e6f0c..503015ff 100644 --- a/docs/weekly-research.md +++ b/docs/weekly-research.md @@ -30,7 +30,7 @@ gh aw run weekly-research ## Configuration -This workflow requires no configuration and works out of the box. You can use local configuation to customize output format, research topics, report length, focus areas or to adjust frequency or timing. Local configuration can be done in `.github/workflows/agentics/daily-plan.config.md`. +This workflow requires no configuration and works out of the box. You can use local configuration to customize output format, research topics, report length, focus areas or to adjust frequency or timing. Local configuration can be done in `.github/workflows/agentics/daily-plan.config.md`. After editing run `gh aw compile` to update the workflow and commit all changes to the default branch. diff --git a/workflows/daily-accessibility-review.md b/workflows/daily-accessibility-review.md index 000d6cc8..85eb471a 100644 --- a/workflows/daily-accessibility-review.md +++ b/workflows/daily-accessibility-review.md @@ -18,13 +18,13 @@ safe-outputs: add-comment: discussion: true max: 5 - github: - toolset: [all] tools: playwright: web-fetch: web-search: + github: + toolset: [all] timeout_minutes: 15 diff --git a/workflows/daily-test-improver.md b/workflows/daily-test-improver.md index d9eaa3a8..d04a858a 100644 --- a/workflows/daily-test-improver.md +++ b/workflows/daily-test-improver.md @@ -105,7 +105,7 @@ To decide which phase to perform: a. You can assume that the repository is in a state where the steps in `.github/actions/daily-test-improver/coverage-steps/action.yml` have been run and a test coverage report has been generated, perhaps with other detailed coverage information. Look at the steps in `.github/actions/daily-test-improver/coverage-steps/action.yml` to work out what has been run and where the coverage report should be, and find it. Also read any output files such as `coverage-steps.log` to understand what has been done. If the coverage steps failed, work out what needs to be fixed in `.github/actions/daily-test-improver/coverage-steps/action.yml` and make a pull request for those fixes and exit the entire workflow. If you can't find the coverage report, read a previous actions log for the run, or otherwise work out why the build or coverage generation failed by going through it step by step, then create an issue describing the problem. Only continue if you have a valid fresh coverage report. - b. Read the coverge report. Be detailed, looking to understand the files, functions, branches, and lines of code that are not covered by tests. Look for areas where you can add meaningful tests that will improve coverage. + b. Read the coverage report. Be detailed, looking to understand the files, functions, branches, and lines of code that are not covered by tests. Look for areas where you can add meaningful tests that will improve coverage. c. Check the most recent pull request with title starting with "${{ github.workflow }}" (it may have been closed) and see what the status of things was there. These are your notes from last time you did your work, and may include useful recommendations for future areas to work on.