Skip to content

Commit 42b753b

Browse files
authored
Merge pull request #24 from OP3ratordec/test
chore: update masking-3
2 parents 74e75de + 705c69c commit 42b753b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/bb-masking-3.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)