OpenParable
Skip to content
← Back to skills

Ha IOS Workflow CI

DevOps & Security
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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  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.