# Ha IOS Workflow CI

> Ha 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.

- Skill name: `ha-ios-workflow-ci`
- Category: [DevOps & Security](https://www.openparable.com/skill/devops-security/1)
- Source: https://github.com/home-assistant/iOS/blob/HEAD/.agents/skills/ha-ios-workflow-ci/SKILL.md
- Repository: home-assistant/iOS (2,262 GitHub stars when collected)

## SKILL.md

# Workflow & Continuous Integration

## Workflow Summary

1. **Install dependencies**: `bundle install` (SPM dependencies resolve automatically in Xcode)
2. **Make your changes** in the appropriate `Sources/` directory
3. **Add strings** to `en.lproj/Localizable.strings` if needed (SwiftGen generates accessors on build; see the `ha-ios-localization` skill)
4. **Run autocorrect**: `bundle exec fastlane autocorrect` (see the `ha-ios-code-style` skill)
5. **Run tests**: `bundle exec fastlane test` (see the `ha-ios-testing` skill)
6. **Commit** your changes

## Continuous Integration

CI runs on GitHub Actions (`.github/workflows/ci.yml`):

- **Linting**: SwiftFormat, SwiftLint, Rubocop, YamlLint
- **Unit Tests**: Runs the `Tests-Unit` scheme
- **Build Verification**: Ensures the app builds cleanly

All lint checks and tests must pass before a PR can be merged.

---

Source: https://www.openparable.com/skill/devops-security/ha-ios-workflow-ci (OpenParable). Cite the canonical URL above.
