Skip to content

Commit

Permalink
ci(deps): remove auto yarn-deduplicate on dependabot PRs (#12892)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
  • Loading branch information
agilgur5 committed Apr 6, 2024
1 parent d2369c9 commit e4ce332
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -415,15 +415,6 @@ jobs:
- run: yarn --cwd ui test
- run: yarn --cwd ui lint
- run: yarn --cwd ui deduplicate
# Deduplicate UI deps for dependabot PRs
- name: Commit deduplicated yarn.lock for Dependabot PRs
if: github.actor == 'dependabot[bot]'
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add ui/yarn.lock
git commit -s --allow-empty -m 'chore: deduplicate yarn.lock'
git push
# if lint or deduplicate make changes that are not in the PR, fail the build
- name: Check if lint & deduplicate made changes not present in the PR
run: git diff --exit-code
Expand Down

0 comments on commit e4ce332

Please sign in to comment.