Skip to content

Commit c80c605

Browse files
Merge pull request #59 from bytebase/a-branch-17
fix: update
2 parents 50000ec + 583f77a commit c80c605

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/bb-masking-semantic-type-global.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
run: |
6363
CHANGED_FILE="masking/semantic-type.json"
6464
echo "Processing: $CHANGED_FILE"
65+
echo ${{ steps.bytebase-login.outputs.token }}
6566
6667
response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.semantic-types" \
6768
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
@@ -76,6 +77,9 @@ jobs:
7677
echo "response_body<<EOF" >> $GITHUB_OUTPUT
7778
echo "${body}" >> $GITHUB_OUTPUT
7879
echo "EOF" >> $GITHUB_OUTPUT
80+
81+
echo "status_code=${status_code}"
82+
echo "response_body=${body}"
7983
8084
if [[ $status_code -lt 200 || $status_code -ge 300 ]]; then
8185
echo "Failed with status code: $status_code"
@@ -102,6 +106,9 @@ jobs:
102106
echo "response_body<<EOF" >> $GITHUB_OUTPUT
103107
echo "${body}" >> $GITHUB_OUTPUT
104108
echo "EOF" >> $GITHUB_OUTPUT
109+
110+
echo "status_code=${status_code}"
111+
echo "response_body=${body}"
105112
106113
if [[ $status_code -lt 200 || $status_code -ge 300 ]]; then
107114
echo "Failed with status code: $status_code"

masking/global-masking-rule.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"id": "76356d81-6231-4128-9be7-2c549fc505f5",
99
"condition": {
10-
"expression": "classification_level in [\"2\"]",
10+
"expression": "classification_level in [\"2\", \"3\"]",
1111
"title": "",
1212
"description": ""
1313
},

0 commit comments

Comments
 (0)