File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - main
5
+ workflow_dispatch :
6
+ pull_request :
7
+
8
+ jobs :
9
+ bytebase-ci :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - name : Login Bytebase
14
+ id : bytebase-login
15
+ uses : bytebase/login-action@main
16
+ with :
17
+ bytebase-url : ${{ secrets.BYTEBASE_URL }}
18
+ service-key : ${{ secrets.BYTEBASE_SERVICE_KEY }}
19
+ service-secret : ${{ secrets.BYTEBASE_SERVICE_SECRET }}
20
+
21
+ - name : Debug API URL
22
+ run : |
23
+ echo "API URL Length: $(echo -n "${{ steps.bytebase-login.outputs.api_url }}" | wc -c)"
24
+ echo "Token Length: $(echo -n "${{ steps.bytebase-login.outputs.token }}" | wc -c)"
25
+
26
+ - name : List projects
27
+ run : |
28
+ curl "${{steps.bytebase-login.outputs.api_url}}/projects" \
29
+ -H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
30
+ -H 'Content-Type: application/json; charset=utf-8'
Original file line number Diff line number Diff line change 15
15
},
16
16
{
17
17
"id" : " e8d3fd41-eba0-4afd-ae0f-32c91a4ee710" ,
18
- "title" : " Personal sensitive data x " ,
18
+ "title" : " Personal sensitive data" ,
19
19
"description" : " Custom semantic type with full masking for personal sensitive data" ,
20
20
"algorithm" : {
21
21
"fullMask" : {
You can’t perform that action at this time.
0 commit comments