@@ -92,27 +92,13 @@ jobs:
9292 run : ./scripts/get-baton.sh && mv baton /usr/local/bin
9393 - name : Build baton-ldap
9494 run : go build ./cmd/baton-ldap
95- - name : Run baton-ldap
96- run : ./baton-ldap
97- - name : List grants
98- run : baton grants
99- - name : Test grant/revoking posixGroup entitlements
100- env :
101- BATON : baton
102- BATON_LDAP : ./baton-ldap
103- BATON_ENTITLEMENT : " group:cn=testgroup00000,dc=example,dc=org:member"
104- BATON_PRINCIPAL : " cn=testuser00099@example.com,dc=example,dc=org"
105- BATON_PRINCIPAL_TYPE : " user"
106- run : ./scripts/grant-revoke.sh
107- - name : Test grant/revoking groupOfUniqueNames entitlements
108- env :
109- BATON : baton
110- BATON_LDAP : ./baton-ldap
111- BATON_ENTITLEMENT : " group:cn=othertestgroup00000,dc=example,dc=org:member"
112- BATON_PRINCIPAL : " cn=testuser00099@example.com,dc=example,dc=org"
113- BATON_PRINCIPAL_TYPE : " user"
114- run : ./scripts/grant-revoke.sh
115-
95+ - name : Grant/revoke
96+ uses : ConductorOne/github-workflows/actions/sync-test@v2
97+ with :
98+ connector : ./baton-ldap
99+ baton-entitlement : ' group:cn=testgroup00000,dc=example,dc=org:member'
100+ baton-principal : ' cn=testuser00099@example.com,dc=example,dc=org'
101+ baton-principal-type : user
116102 - name : Create account
117103 env :
118104 ACCOUNT_DISPLAYNAME : ' Example User'
0 commit comments