diff --git a/.github/workflows/bb-masking-semantic-type-global.yml b/.github/workflows/bb-masking-semantic-type-global.yml index 248ada4..e675c14 100644 --- a/.github/workflows/bb-masking-semantic-type-global.yml +++ b/.github/workflows/bb-masking-semantic-type-global.yml @@ -93,15 +93,13 @@ jobs: --header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \ --header "Content-Type: application/json" \ --data @"$CHANGED_FILE") - + # Extract status code and response body status_code=$(echo "$response" | tail -n1) body=$(echo "$response" | sed '$d') - echo "Status code: $status_code" - echo "Response body: $body" - - # Append to outputs (with unique identifiers) + echo "status_code=${status_code}" >> $GITHUB_OUTPUT + echo "response_body<> $GITHUB_OUTPUT echo "${body}" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT diff --git a/masking/global-masking-rule.json b/masking/global-masking-rule.json index b17c7f5..4ff3dec 100644 --- a/masking/global-masking-rule.json +++ b/masking/global-masking-rule.json @@ -7,7 +7,7 @@ { "id": "76356d81-6231-4128-9be7-2c549fc505f5", "condition": { - "expression": "classification_level in [\"2\"]", + "expression": "classification_level in [\"2\", \"3\"]", "title": "", "description": "" },