fix: github workflows - #470
Conversation
Greptile SummaryThis PR centralizes all Key changes:
Issues found:
Confidence Score: 2/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[GitHub Event] --> B{Workflow Trigger}
B -->|push/PR to main| C[code-quality.yml\npaths: packages/browseros-agent/**]
B -->|schedule / workflow_dispatch| D[audit.yml]
B -->|workflow_dispatch| E[release-agent-sdk.yml]
B -->|PR opened/sync/issue comment| F[cla.yml]
B -->|PR opened/comment/@claude| G[claude.yml]
B -->|PR opened/sync/edit| H[pr-title.yml]
B -->|on: empty list ⚠️| I[test.yml\nNEVER TRIGGERS]
C --> C1[biome job\nwd: packages/browseros-agent]
C --> C2[typecheck job\nwd: packages/browseros-agent\n--cwd apps/agent ⚠️]
D --> D1[security-audit\nwd: packages/browseros-agent\nbun audit → Slack]
E --> E1[install deps\nwd: packages/browseros-agent]
E1 --> E2[build / test / publish\nwd: packages/browseros-agent/packages/agent-sdk]
F --> F1[contributor-assistant/github-action\nsignatures → remote: browseros-ai/cla-signatures]
I:::critical
classDef critical fill:#ffcccc,stroke:#cc0000,color:#000
|
This pull request restructures and updates GitHub Actions workflows for the
browseros-agentpackage. The main changes include moving and consolidating workflow files, improving workflow configuration for clarity and maintainability, and removing redundant files. The updates ensure that all workflows consistently use the correct working directory, streamline permissions, and clarify job and step naming.Workflow configuration and structure improvements:
All workflow files for
browseros-agent(audit.yml,code-quality.yml,claude.yml,pr-title.yml,release-agent-sdk.yml,test.yml) have been moved frompackages/browseros-agent/.github/workflows/to the repository root.github/workflows/for better visibility and centralized management. The internal configuration was updated to reflect the new structure and working directories. [1] [2] [3] [4] [5] [6] [7] [8] [9]Workflow jobs now explicitly set the
working-directorytopackages/browseros-agent(or subdirectories as appropriate) using thedefaults.run.working-directorykey, ensuring commands run in the correct context. [1] [2] [3] [4] [5] [6]Permissions and job configuration:
Permissions blocks in workflows have been simplified for readability, removing redundant comments and ensuring only necessary permissions are granted. [1] [2]
Job and step names in workflow files have been standardized for clarity (e.g., removing emojis, using consistent naming).
Cleanup and removal:
The old
dependabot.ymlconfiguration inpackages/browseros-agent/.github/has been deleted, indicating that dependency management configuration has been centralized or is no longer needed in this location.The duplicate or outdated
cla.ymlworkflow inpackages/browseros-agent/.github/workflows/has been removed, consolidating CLA checks into the root workflow.These changes collectively improve workflow maintainability, reduce duplication, and ensure CI/CD processes run reliably in the intended context.