Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfeng-db committed Sep 2, 2024
1 parent e4c36c8 commit 55d3368
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
File renamed without changes.
21 changes: 21 additions & 0 deletions .github/workflows/validate-schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Validate Schema Build

on:
pull_request:
types: [opened, synchronize, edited]

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Make Schema
run: |
if [ $(make schema) != "0" ]; then
echo "make schema failed"
exit 1
else
echo "make schema passed"
fi
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func (r *QualityMonitorResource) Schema(ctx context.Context, req resource.Schema
c.SetRequired("assets_dir")
c.SetRequired("output_schema_name")
c.SetReadOnly("monitor_version")
c.SetRequired("table_name")
c.SetReadOnly("drift_metrics_table_name")
c.SetReadOnly("profile_metrics_table_name")
c.SetReadOnly("status")
Expand Down

0 comments on commit 55d3368

Please sign in to comment.