Skip to content

chore(deps): update dependency @pob/root to v15 #132

chore(deps): update dependency @pob/root to v15

chore(deps): update dependency @pob/root to v15 #132

name: Commit changes on @pob/root update
on:
push:
branches:
- "renovate/pob-root"
- "renovate/pob-root-**"
- "renovate/major-pob-root"
jobs:
run-install-and-commit-modified-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- name: Enable Corepack
run: corepack enable
- name: Install Dependencies
# no immutable here
run: yarn install
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
- name: Run pob-root-postinstall
run: yarn run pob-root-postinstall
- name: Run pob update
run: npx pob update --force
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
- name: Check for added or modified files
id: git-check-modified
run: if [[ -z $(git status -s) ]]; then echo "modified=false" >> $GITHUB_OUTPUT ; else echo "modified=true" >> $GITHUB_OUTPUT ; fi
- name: Commit report
if: steps.git-check-modified.outputs.modified == 'true'
run: |
git add .
git -c user.name="Christophe Hurpeau" \
-c user.email="[email protected]" \
commit -m "chore: update pob root" --author="github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
git push --no-verify