File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -82,15 +82,15 @@ jobs:
8282 exit 1
8383 fi
8484
85- - name : Apply semantic type
85+ - name : Apply global masking rule
8686 id : apply-global-masking-rule
8787 if : ${{ steps.changed-files.outputs.any_changed == 'true' && contains(steps.changed-files.outputs.all_changed_files, '/global-masking-rule.json') }}
8888 run : |
89- # Process all masking-exception .json files
90- echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep "global-masking-exception .json" | while read -r CHANGED_FILE; do
89+ # Process all global- masking-rule .json files
90+ echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep "global-masking-rule .json" | while read -r CHANGED_FILE; do
9191 echo "Processing: $CHANGED_FILE"
9292
93- response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.semantic-types ?allow_missing=true" \
93+ response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.global-masking-rule ?allow_missing=true" \
9494 --header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
9595 --header "Content-Type: application/json" \
9696 --data @"$CHANGED_FILE")
You can’t perform that action at this time.
0 commit comments