Skip to content

Commit

Permalink
chore(release): add git porcelain check (carbon-design-system#5312)
Browse files Browse the repository at this point in the history
  • Loading branch information
annawen1 authored May 22, 2024
1 parent a87d6e0 commit aa8103f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ jobs:
echo " js:
functions: {}
tokens: null" >> telemetry.yml
git add telemetry.yml
git commit -m "chore(telemetry): update telemetry config"
git push origin
if [ -z "$(git status --porcelain)" ]; then
echo "Mirror is clean, exiting..."
else
git add telemetry.yml
git commit -m "chore(telemetry): update telemetry config"
git push origin
fi
- name: Continuous integration check (includes build)
run: yarn ci-check
Expand Down

0 comments on commit aa8103f

Please sign in to comment.