Skip to content

feat: add phone column to employee #11

feat: add phone column to employee

feat: add phone column to employee #11

name: SQL Review
on:
pull_request:
branches:
- main
paths:
- "**/*.sql"
jobs:
bytebase-sql-review:
runs-on: ubuntu-latest
env:
BYTEBASE_URL: "https://3b40-194-114-138-169.ngrok-free.app"
BYTEBASE_SERVICE_ACCOUNT: "[email protected]"
DATABASE: "instances/prod-sample-instance/databases/hr_prod_vcs"
name: SQL Review
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Bytebase
id: login
uses: ./.github/actions/login
with:
url: ${{ env.BYTEBASE_URL }}
service-account: ${{ env.BYTEBASE_SERVICE_ACCOUNT }}
service-account-key: ${{ secrets.BYTEBASE_PASSWORD }}
- name: Review
id: review
uses: ./.github/actions/sql-review
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pattern: "**/*.sql"
url: ${{ env.BYTEBASE_URL }}
token: ${{ steps.login.outputs.token }}
headers: '{"Accept-Encoding": "deflate, gzip"}'
database: ${{ env.DATABASE }}