Skip to content

Commit a5643f7

Browse files
Merge pull request #69 from bytebase/a-branch-19
update
2 parents de8794a + 36bbe48 commit a5643f7

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/try-login.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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'

masking/semantic-type.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
{
1717
"id": "e8d3fd41-eba0-4afd-ae0f-32c91a4ee710",
18-
"title": "Personal sensitive data x",
18+
"title": "Personal sensitive data",
1919
"description": "Custom semantic type with full masking for personal sensitive data",
2020
"algorithm": {
2121
"fullMask": {

0 commit comments

Comments
 (0)