Validating process enforcement for GitHub Enterprise Push operations
After you configure process enforcement of Git Push operations in GitHub Enterprise, test the integration to confirm that it works.
Procedure
- As a user whose role in IBM® Engineering Workflow Management (EWM) does not have permission to push commits, create and push a commit from the command-line git tool or from the GitHub web client. The push operation should fail with this message: remote: CRRTC8822E The 'Git Push' operation cannot be completed. Permission is required to complete the operation.
- In the EWM project area, edit the permission setting for the role to grant it permission to push commits. Then try to push a commit again. The operations should now be successful.