We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9990ace commit 657a821Copy full SHA for 657a821
.github/workflows/ci.yaml
@@ -101,7 +101,7 @@ jobs:
101
shell: bash
102
run: |
103
set -eub pipefail
104
- NEW_USER_ID="$(baton resources -o json | jq -e --arg login "${{ env.CONNECTOR_NEW_USER }}" 'any(.resources[].resource.annotations[]?; .["@type"]=="type.googleapis.com/c1.connector.v2.UserTrait" and .login==$login)')"
+ NEW_USER_ID="$(baton resources -o json | jq -e --arg login "${{ env.CONNECTOR_NEW_USER }}" 'any(.resources[].resource.annotations[]?; .["@type"]=="type.googleapis.com/c1.connector.v2.UserTrait" and .login==$login) | .id.resource')"
105
echo "NEW_USER_ID=$NEW_USER_ID" >> "$GITHUB_ENV"
106
107
- name: Grant role to user
0 commit comments