Skip to content

Commit feadef6

Browse files
docs: add account-status-lifecycle-test action to README (#32)
1 parent e358305 commit feadef6

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,30 @@ The account-provisioning action tests account provisioning and deprovisioning fo
114114
search-method: "email" # optional, defaults to 'email'
115115
```
116116

117+
### Account Status Lifecycle Test
118+
119+
The account-status-lifecycle-test action tests disabling and enabling account status changes for a baton connector.
120+
121+
#### Usage
122+
123+
```yaml
124+
- name: Test Account Status Changes
125+
uses: ConductorOne/github-workflows/actions/account-status-lifecycle-test@v3
126+
with:
127+
connector: "./my-connector"
128+
account-id: "user-12345"
129+
enable-action-name: "enable_user" # optional, defaults to 'enable_user'
130+
disable-action-name: "disable_user" # optional, defaults to 'disable_user'
131+
id-parameter-name: "user_id" # optional, defaults to 'user_id'
132+
test-flow: "disable-enable" # optional, defaults to 'disable-enable'
133+
```
134+
135+
The `test-flow` parameter can be:
136+
- `disable-enable`: Disable the account, then enable it (default)
137+
- `enable-disable`: Enable the account, then disable it
138+
- `enable-only`: Only test enabling the account
139+
- `disable-only`: Only test disabling the account
140+
117141
## Development
118142

119143
To modify these workflows:

0 commit comments

Comments
 (0)