Skip to content

Commit

Permalink
fix: generate ts file for newly added proto & fix ci (risingwavelabs#…
Browse files Browse the repository at this point in the history
…6638)

* run add before git diff

* dashboard gen-proto
  • Loading branch information
HuaHuaY authored Nov 28, 2022
1 parent 6190977 commit 1db4737
Show file tree
Hide file tree
Showing 2 changed files with 641 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dashboard_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
npm install
npm run gen-proto
if ! git diff --quiet; then
git add -A
if ! git diff --quiet --staged; then
git reset
echo "::error::Generated proto files are not up to date."
FORK_POINT=$(git merge-base origin/$GITHUB_HEAD_REF upstream/$GITHUB_BASE_REF)
if ! git diff --quiet $FORK_POINT..upstream/$GITHUB_BASE_REF -- ../proto; then
Expand Down
Loading

0 comments on commit 1db4737

Please sign in to comment.