Skip to content

[WIP] Fix broken action versions and runner issues#247

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/fix-broken-workflow-issues
Closed

[WIP] Fix broken action versions and runner issues#247
Copilot wants to merge 1 commit intomainfrom
copilot/fix-broken-workflow-issues

Conversation

Copy link
Contributor

Copilot AI commented Mar 18, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Fix the following broken agent/workflow issues in .github/workflows/. Only change what's broken; preserve all existing logic and style.


1. .github/workflows/lint-format.yml — broken action versions

These pinned versions do not exist and will fail:

  • actions/checkout@v6.0.2 → fix to actions/checkout@v4
  • actions/setup-python@v6 → fix to actions/setup-python@v5
  • python-version: '3.14' → fix to '3.13' (latest stable)

2. .github/workflows/jules-performance-improver.yml — wrong runner + missing schedule

  • runs-on: ubuntu-slim is not a valid GitHub-hosted runner → change to ubuntu-latest
  • The on: block only has workflow_dispatch: but AGENTS.md documents the trigger as "Daily at 4 AM UTC" → add the schedule back:
    schedule:
      - cron: '0 4 * * *'
  • The prompt is generic web-app boilerplate (React, N+1 queries, DB indexes) that has zero relevance to this shell-script-only repo. Replace the prompt body with shell/bash-specific performance guidance matching the repo's actual content (bash builtins vs forks, mapfile vs loops, xargs -P parallelism, hyperfine benchmarking, etc). Keep the agent persona "TURBO" and the PR format section.
  • permissions: contents: read — Jules needs to be able to create branches/PRs → change to contents: write and add pull-requests: write

3. .github/workflows/jules-weekly-cleanup.yml — wrong permissions + irrelevant prompt

  • permissions: contents: read → change to contents: write, add pull-requests: write
  • The prompt focus areas reference web-app patterns (React, imports, etc) irrelevant to a shell/bash repo. Replace with shell-script-specific cleanup tasks: unused functions, dead variable assignments, redundant fallback chains, inconsistent error handling patterns, WIP scripts past their prime. Keep the "Do not open a PR if you do not have a validated and impactful change." rule.

Style constraints

  • 2-space indent throughout YAML
  • Preserve all comments, concurrency groups, step names, and ordering that are not explicitly mentioned above
  • Do not add new steps, jobs, or workflows

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: fix the agent mode

Assistant: Now I have the full picture. Here's the diagnosis:

Issues found across the agent/workflow setup:

lint-format.ymlactions/checkout@v6.0.2 doesn't exist (latest is v4), actions/setup-python@v6 doesn't exist (latest is v5), python-version: '3.14' doesn't exist yet. These will cause the workflow to fail immediately.

jules-performance-improver.ymlruns-on: ubuntu-slim is not a valid GitHub-hosted runner label; should be ubuntu-latest. The trigger is workflow_dispatch only, but AGENTS.md says "Daily at 4 AM UTC" — schedule is missing entirely.

jules-weekly-cleanup.yml — The prompt is generic web-app boilerplate (React.memo, N+1 queries, database indexes — none of which exist in this shell-script-only repo). Also permissions: contents: read is insufficient if Jules needs to create a PR/branch.

AGENTS.md workflow table lists jules-performance-improver.yml trigger as "Daily at 4 AM UTC" but the actual file has no schedule.

I'll fix all of these now.

Assistant: We're waiting for your response to the agent mode dialog to continue.

This pull request was created from Copilot chat.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI requested a review from Ven0m0 March 18, 2026 14:35
@Ven0m0 Ven0m0 closed this Mar 19, 2026
@Ven0m0 Ven0m0 deleted the copilot/fix-broken-workflow-issues branch March 19, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants