diff --git a/.github/workflows/bb-masking-semantic-type-global.yml b/.github/workflows/bb-masking-semantic-type-global.yml index 3f4e101..897ead3 100644 --- a/.github/workflows/bb-masking-semantic-type-global.yml +++ b/.github/workflows/bb-masking-semantic-type-global.yml @@ -62,6 +62,7 @@ jobs: run: | CHANGED_FILE="masking/semantic-type.json" echo "Processing: $CHANGED_FILE" + echo ${{ steps.bytebase-login.outputs.token }} response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.semantic-types" \ --header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \ @@ -76,6 +77,9 @@ jobs: echo "response_body<> $GITHUB_OUTPUT echo "${body}" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT + + echo "status_code=${status_code}" + echo "response_body=${body}" if [[ $status_code -lt 200 || $status_code -ge 300 ]]; then echo "Failed with status code: $status_code" @@ -102,6 +106,9 @@ jobs: echo "response_body<> $GITHUB_OUTPUT echo "${body}" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT + + echo "status_code=${status_code}" + echo "response_body=${body}" if [[ $status_code -lt 200 || $status_code -ge 300 ]]; then echo "Failed with status code: $status_code" 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": "" },