Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/try-login.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches:
- main
workflow_dispatch:
pull_request:

jobs:
bytebase-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login Bytebase
id: bytebase-login
uses: bytebase/login-action@main
with:
bytebase-url: ${{ secrets.BYTEBASE_URL }}
service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}

- name: Debug API URL
run: |
echo "API URL Length: $(echo -n "${{ steps.bytebase-login.outputs.api_url }}" | wc -c)"
echo "Token Length: $(echo -n "${{ steps.bytebase-login.outputs.token }}" | wc -c)"

- name: List projects
run: |
curl "${{steps.bytebase-login.outputs.api_url}}/projects" \
-H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
-H 'Content-Type: application/json; charset=utf-8'
2 changes: 1 addition & 1 deletion masking/semantic-type.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
{
"id": "e8d3fd41-eba0-4afd-ae0f-32c91a4ee710",
"title": "Personal sensitive data x",
"title": "Personal sensitive data",
"description": "Custom semantic type with full masking for personal sensitive data",
"algorithm": {
"fullMask": {
Expand Down
Loading