Skip to content

CI: add iOS build gate on PR/main and skip release-bump bot pushes#119

Merged
AdamJ merged 4 commits into
mainfrom
copilot/add-ios-build-checks
May 10, 2026
Merged

CI: add iOS build gate on PR/main and skip release-bump bot pushes#119
AdamJ merged 4 commits into
mainfrom
copilot/add-ios-build-checks

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 10, 2026

This updates the main CI workflow to validate Capacitor/iOS buildability alongside existing checks before merge, and avoids redundant runs triggered by automated version-bump commits.

  • Workflow coverage

    • Added npm run build:ios to .github/workflows/test.yml so iOS build checks run on the same PR/push paths as the existing test workflow (pull_request and push on main/master).
  • Skip rule for release automation

    • Added a job-level guard to skip CI when the push is an automated release bump commit (github-actions[bot] + commit message prefix chore: bump version to ), preventing unnecessary reruns from the release action.
  • iOS-mode explicitness

    • Set VITE_IOS_BUILD: "true" on the iOS build step so CI validates the intended iOS-gated code path.
jobs:
  test:
    if: !(github.event_name == 'push' && github.actor == 'github-actions[bot]' && startsWith(github.event.head_commit.message, 'chore: bump version to '))
    steps:
      - name: Build iOS project
        run: npm run build:ios
        env:
          VITE_IOS_BUILD: "true"

Copilot AI linked an issue May 10, 2026 that may be closed by this pull request
3 tasks
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 10, 2026

Deploying timetrackerpro with  Cloudflare Pages  Cloudflare Pages

Latest commit: ca5d7d6
Status: ✅  Deploy successful!
Preview URL: https://2ca1b70a.timetrackerpro.pages.dev
Branch Preview URL: https://copilot-add-ios-build-checks.timetrackerpro.pages.dev

View logs

Copilot AI changed the title [WIP] Add build check for iOS/Capacitor in actions CI: add iOS build gate on PR/main and skip release-bump bot pushes May 10, 2026
Copilot AI requested a review from AdamJ May 10, 2026 22:01
Copilot finished work on behalf of AdamJ May 10, 2026 22:01
@AdamJ AdamJ marked this pull request as ready for review May 10, 2026 22:05
@AdamJ AdamJ merged commit e84e1b6 into main May 10, 2026
2 checks passed
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.

Add iOS Build Checks

2 participants