|
36 | 36 | files: | |
37 | 37 | masking/masking-algorithm.json |
38 | 38 | masking/semantic-type.json |
39 | | - base_sha: ${{ github.event.pull_request.base.sha }} |
40 | | - sha: ${{ github.event.pull_request.head.sha }} |
41 | 39 | since_last_remote_commit: true |
42 | 40 | fetch_depth: 0 |
43 | 41 | include_all_old_new_renamed_files: true |
|
66 | 64 | echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep "masking-algorithm.json" | while read -r CHANGED_FILE; do |
67 | 65 | echo "Processing: $CHANGED_FILE" |
68 | 66 | |
69 | | - response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.masking-algorithm" \ |
| 67 | + response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.masking-algorithm?allow_missing=true" \ |
70 | 68 | --header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \ |
71 | 69 | --header "Content-Type: application/json" \ |
72 | 70 | --data @"$CHANGED_FILE") |
|
96 | 94 | echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep "semantic-type.json" | while read -r CHANGED_FILE; do |
97 | 95 | echo "Processing: $CHANGED_FILE" |
98 | 96 | |
99 | | - response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.semantic-types" \ |
| 97 | + response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.semantic-types?allow_missing=true" \ |
100 | 98 | --header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \ |
101 | 99 | --header "Content-Type: application/json" \ |
102 | 100 | --data @"$CHANGED_FILE") |
|
0 commit comments