File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
119143To modify these workflows :
You can’t perform that action at this time.
0 commit comments