chore: update pob root #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: echo ::set-output name=modified::$(if [[ -z $(git status -s) ]]; then echo "false"; else echo "true"; fi) | |
- name: Commit report | |
if: steps.git-check-modified.outputs.modified == 'true' | |
run: | | |
git add . | |
git -c user.name="Christophe Hurpeau" \ | |
-c user.email="christophehurpeau@users.noreply.github.com" \ | |
commit -m "chore: update pob root" --author="github-actions[bot] <github-actions[bot]@users.noreply.github.com>" | |
git push --no-verify |