Skip to content

Commit 7e85b7d

Browse files
authored
Merge pull request #4176 from anyproto/ios-5364-add-claude-to-gh-actions
IOS-5364 Update workflow documentation for test_fastlane_build and ipa workflows
2 parents 6b70aa5 + 75da091 commit 7e85b7d

File tree

2 files changed

+37
-6
lines changed

2 files changed

+37
-6
lines changed

.claude/commands/cpp.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
1-
Commit, push, pull request
1+
Commit, push, pull request
2+
3+
## Usage
4+
```
5+
/cpp [in branch <branch-name>]
6+
```
7+
8+
## Description
9+
Commits the current changes, pushes to remote, and creates a pull request.
10+
11+
## Optional Arguments
12+
- `in branch <branch-name>` - Specifies the target branch to use for the commit, push, and PR
13+
14+
## Branch Handling
15+
When a branch name is provided:
16+
1. **Branch doesn't exist locally or remotely**: Creates a new branch with the specified name
17+
2. **Branch exists locally**: Switches to that branch
18+
3. **Branch exists only remotely**: Checks out the remote branch locally
19+
20+
## Examples
21+
```bash
22+
# Commit, push, and PR on current branch
23+
/cpp
24+
25+
# Commit, push, and PR on specific branch (creates if doesn't exist)
26+
/cpp in branch ios-5364-add-claude-to-gh-actions
27+
28+
# Commit, push, and PR on existing branch
29+
/cpp in branch develop
30+
```

.github/WORKFLOWS_REFERENCE.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ This document provides an overview of GitHub workflows, custom actions, and auto
6666

6767
#### `ipa.yaml` - IPA Build
6868
**File:** `.github/workflows/ipa.yaml`
69-
**Triggers:** Manual dispatch
70-
**Purpose:** Creates IPA builds for distribution outside TestFlight/App Store.
69+
**Triggers:** Manual dispatch, repository dispatch (triggers test run repository after build)
70+
**Purpose:** Builds IPA file for the application. After successful build, triggers automated tests in the anytype-test repository.
71+
**Purpose:** Builds IPA file for the application. Invoked from the test run repository for automated testing.
7172

7273
---
7374

@@ -163,10 +164,11 @@ This document provides an overview of GitHub workflows, custom actions, and auto
163164

164165
---
165166

166-
#### `test_fastlane_build.yaml` - Fastlane Testing
167+
#### `test_fastlane_build.yaml` - Workflow Development Testing
167168
**File:** `.github/workflows/test_fastlane_build.yaml`
168169
**Triggers:** Manual dispatch
169-
**Purpose:** Tests Fastlane configuration changes without full builds.
170+
**Purpose:** Test workflow used when developing new GitHub workflows. Helps test workflow changes before merging to dev branch.
171+
**Note:** Due to GitHub limitations, new workflow files are not visible in the Actions UI until merged into the dev branch.
170172

171173
---
172174

@@ -409,5 +411,5 @@ jobs:
409411

410412
---
411413

412-
**Last Updated:** 2025-10-27
414+
**Last Updated:** 2025-10-29
413415
**Maintainers:** iOS Team

0 commit comments

Comments
 (0)