Ha IOS Workflow CI
DevOps & Securityha-ios-workflow-ciHa IOS Workflow CI is an Agent Skill for devops & security published in the home-assistant/iOS repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
The end-to-end change workflow and CI gates. Use when preparing a change for commit, understanding the order of lint/autocorrect/test steps, or knowing what GitHub Actions checks before a PR can merge.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/home-assistant/iOS/blob/HEAD/.agents/skills/ha-ios-workflow-ci/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ha-ios-workflow-ci, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Workflow & Continuous Integration
Workflow Summary
- Install dependencies:
bundle install(SPM dependencies resolve automatically in Xcode) - Make your changes in the appropriate
Sources/directory - Add strings to
en.lproj/Localizable.stringsif needed (SwiftGen generates accessors on build; see theha-ios-localizationskill) - Run autocorrect:
bundle exec fastlane autocorrect(see theha-ios-code-styleskill) - Run tests:
bundle exec fastlane test(see theha-ios-testingskill) - Commit your changes
Continuous Integration
CI runs on GitHub Actions (.github/workflows/ci.yml):
- Linting: SwiftFormat, SwiftLint, Rubocop, YamlLint
- Unit Tests: Runs the
Tests-Unitscheme - Build Verification: Ensures the app builds cleanly
All lint checks and tests must pass before a PR can be merged.