Skip to content

Commit

Permalink
feat: skip action when artifacts aren't changed
Browse files Browse the repository at this point in the history
  • Loading branch information
lbwa committed Dec 17, 2023
1 parent a746d95 commit 2993891
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/languages.yaml
Expand Up @@ -51,7 +51,11 @@ jobs:
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add public
git status
git commit -m 'chore(schedule): update metrics'
git push origin main
# git diff --quiet --exit-code public
if git diff --name-only | grep -q "public/"; then
git add public
git status
git commit -m 'chore(schedule): update metrics'
git push origin main
fi

0 comments on commit 2993891

Please sign in to comment.