diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml new file mode 100644 index 0000000..9d8b898 --- /dev/null +++ b/.github/workflows/try-login.yml @@ -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' \ No newline at end of file diff --git a/masking/semantic-type.json b/masking/semantic-type.json index 97bdc12..f03e55c 100644 --- a/masking/semantic-type.json +++ b/masking/semantic-type.json @@ -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": {