Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1bd40f7

Browse files
Merge pull request #12 from bytebase/a-branch-4
update
2 parents 76cee66 + acca9e6 commit 1bd40f7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎.github/workflows/bb-masking-2.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
files: |
3737
masking/masking-algorithm.json
3838
masking/semantic-type.json
39-
base_sha: ${{ github.event.pull_request.base.sha }}
40-
sha: ${{ github.event.pull_request.head.sha }}
4139
since_last_remote_commit: true
4240
fetch_depth: 0
4341
include_all_old_new_renamed_files: true
@@ -66,7 +64,7 @@ jobs:
6664
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep "masking-algorithm.json" | while read -r CHANGED_FILE; do
6765
echo "Processing: $CHANGED_FILE"
6866
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" \
7068
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
7169
--header "Content-Type: application/json" \
7270
--data @"$CHANGED_FILE")
@@ -96,7 +94,7 @@ jobs:
9694
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep "semantic-type.json" | while read -r CHANGED_FILE; do
9795
echo "Processing: $CHANGED_FILE"
9896
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" \
10098
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
10199
--header "Content-Type: application/json" \
102100
--data @"$CHANGED_FILE")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /