File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6363 CHANGED_FILE="masking/data-classification.json"
6464 echo "Processing: $CHANGED_FILE"
6565
66- response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/v1/ settings/bb.workspace.data-classification" \
66+ response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.data-classification" \
6767 --header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
6868 --header "Content-Type: application/json" \
6969 --data @"$CHANGED_FILE")
9090 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 }}/v1/ policies/masking_rule?allow_missing=true&update_mask=payload" \
93+ response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/policies/masking_rule?allow_missing=true&update_mask=payload" \
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