|
| 1 | +# GitHub Workflows Status |
| 2 | + |
| 3 | +## ✅ Workflows Disabled |
| 4 | + |
| 5 | +All GitHub Actions workflows have been moved to `.github/workflows.disabled/` directory. |
| 6 | + |
| 7 | +### What was done: |
| 8 | +1. ✅ Copied all workflow files to `workflows.disabled/` directory |
| 9 | +2. ⚠️ **Action Required**: Delete the original files in `workflows/` directory |
| 10 | + |
| 11 | +### To complete the disabling: |
| 12 | + |
| 13 | +```bash |
| 14 | +# Delete the active workflow files |
| 15 | +rm -rf .github/workflows/ |
| 16 | +``` |
| 17 | + |
| 18 | +### Workflows that were disabled: |
| 19 | +- **ci.yml** - Continuous Integration (Swift Package tests, iOS app build, SwiftLint) |
| 20 | +- **codeql.yml** - CodeQL security analysis |
| 21 | +- **release.yml** - Automated releases on version tags |
| 22 | + |
| 23 | +--- |
| 24 | + |
| 25 | +## 📝 Important Notes |
| 26 | + |
| 27 | +### Before Re-enabling Workflows: |
| 28 | + |
| 29 | +The workflows contain **outdated folder names** and need to be updated: |
| 30 | + |
| 31 | +#### Changes needed: |
| 32 | +1. **Folder name**: `HealthGeneratorApp` → `HealthKitDataGeneratorApp` |
| 33 | +2. **Workspace**: `HealthGeneratorApp.xcworkspace` → `HealthKitDataGeneratorApp.xcworkspace` |
| 34 | +3. **Scheme**: `-scheme HealthGeneratorApp` → `-scheme HealthKitDataGeneratorApp` |
| 35 | + |
| 36 | +#### Files that need updates: |
| 37 | +- `ci.yml` - Lines 68, 74, 84 |
| 38 | +- `codeql.yml` - Lines 45, 47 |
| 39 | +- `release.yml` - Lines 33, 39 |
| 40 | + |
| 41 | +--- |
| 42 | + |
| 43 | +## 🔄 To Re-enable Workflows: |
| 44 | + |
| 45 | +### Option 1: Move files back (after updating) |
| 46 | +```bash |
| 47 | +# 1. Update the folder names in workflow files |
| 48 | +# 2. Move back to workflows directory |
| 49 | +mv .github/workflows.disabled/*.yml .github/workflows/ |
| 50 | +``` |
| 51 | + |
| 52 | +### Option 2: Rename directory |
| 53 | +```bash |
| 54 | +# After updating folder names in the files |
| 55 | +mv .github/workflows.disabled .github/workflows |
| 56 | +``` |
| 57 | + |
| 58 | +--- |
| 59 | + |
| 60 | +## 🧪 Testing Workflows Locally |
| 61 | + |
| 62 | +Before re-enabling, you can test workflows locally: |
| 63 | + |
| 64 | +### Using `act`: |
| 65 | +```bash |
| 66 | +# Install act |
| 67 | +brew install act |
| 68 | + |
| 69 | +# Test CI workflow |
| 70 | +act -j test-swift-package |
| 71 | +act -j build-ios-app |
| 72 | +act -j lint |
| 73 | +``` |
| 74 | + |
| 75 | +### Manual testing: |
| 76 | +```bash |
| 77 | +# Test Swift Package |
| 78 | +cd HealthKitDataGenerator && swift build && swift test |
| 79 | + |
| 80 | +# Test iOS App |
| 81 | +cd HealthKitDataGeneratorApp && tuist generate |
| 82 | + |
| 83 | +# Run SwiftLint |
| 84 | +swiftlint lint |
| 85 | +``` |
| 86 | + |
| 87 | +--- |
| 88 | + |
| 89 | +**Status**: Workflows disabled on October 5, 2025 |
| 90 | +**Reason**: Folder renaming from HealthGeneratorApp to HealthKitDataGeneratorApp |
0 commit comments