Skip to content

Commit f36a9a1

Browse files
committed
chore: added the REMOVE_SUSPENDED_USERS variable to the action
1 parent c527ce2 commit f36a9a1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ inputs:
1717
remove-users:
1818
description: 'Set to TRUE to remove users from the github organisation'
1919
required: false
20+
remove-suspended_users:
21+
description: 'Set to TRUE to remove suspended users from the github organisation'
22+
required: false
2023
exit-code-on-missmatch:
2124
description: 'Exit code to use when there is a mismatch, useful when combined with `ADD_USERS` and `REMOVE_USERS` to be used in a dry-run mode'
2225
required: false
@@ -57,6 +60,7 @@ runs:
5760
-e GOOGLE_CREDENTIALS="$GOOGLE_CREDENTIALS" \
5861
-e ADD_USERS="$ADD_USERS" \
5962
-e REMOVE_USERS="$REMOVE_USERS" \
63+
-e REMOVE_SUSPENDED_USERS="$REMOVE_SUSPENDED_USERS" \
6064
-e EXIT_CODE_ON_MISMATCH="$EXIT_CODE_ON_MISMATCH" \
6165
-e GITHUB_ORG="$GITHUB_ORG" \
6266
-e GITHUB_APP_ID="$GITHUB_APP_ID" \
@@ -70,6 +74,7 @@ runs:
7074
GOOGLE_CREDENTIALS: ${{ inputs.google-credentials }}
7175
ADD_USERS: ${{ inputs.add-users }}
7276
REMOVE_USERS: ${{ inputs.remove-users }}
77+
REMOVE_SUSPENDED_USERS: ${{ inputs.remove-suspended_users }}
7378
EXIT_CODE_ON_MISMATCH: ${{ inputs.exit-code-on-missmatch }}
7479
GITHUB_ORG: ${{ inputs.github-org }}
7580
GITHUB_APP_ID: ${{ inputs.github-app-id }}

0 commit comments

Comments
 (0)