Skip to content

Commit

Permalink
Sync with WeblateOrg/meta
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Aug 28, 2024
1 parent 2337c89 commit 51ec265
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/yarn-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- .github/workflows/yarn-update.yml
- scripts/yarn-update
- scripts/yarn/*
- client/*

permissions:
contents: read
Expand All @@ -28,18 +29,25 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: ./scripts/yarn-update
- run: |
if [ -d client ] ; then
cd client
yarn install
yarn build
cd ..
fi
- name: Update branch
if: github.ref != 'refs/heads/main'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'js: Update vendored libraries'
commit_message: 'chore(js): update vendored libraries'
- name: Create Pull Request
if: github.ref == 'refs/heads/main'
uses: peter-evans/create-pull-request@v6
with:
branch: create-pull-request/yarn-update
title: 'js: Update vendored libraries'
commit-message: 'js: Update vendored libraries'
title: 'chore(js): update vendored libraries'
commit-message: 'chore(js): update vendored libraries'
labels: |
dependencies
automerge

0 comments on commit 51ec265

Please sign in to comment.