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:
82
82
exit 1
83
83
fi
84
84
85
- - name : Apply semantic type
85
+ - name : Apply global masking rule
86
86
id : apply-global-masking-rule
87
87
if : ${{ steps.changed-files.outputs.any_changed == 'true' && contains(steps.changed-files.outputs.all_changed_files, '/global-masking-rule.json') }}
88
88
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
91
91
echo "Processing: $CHANGED_FILE"
92
92
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" \
94
94
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
95
95
--header "Content-Type: application/json" \
96
96
--data @"$CHANGED_FILE")
You can’t perform that action at this time.
0 commit comments