[TASK]: Bump rollup from 3.26.1 to 3.26.2 in /Resources/Private/Frontend #496
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: Dependabot update | |
on: | |
push: | |
branches: | |
- 'dependabot/npm_and_yarn/**' | |
pull_request: | |
branches: | |
- 'dependabot/npm_and_yarn/**' | |
jobs: | |
dependabot-update: | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
token: ${{ secrets.MERGE_TOKEN }} | |
# Install dependencies | |
- name: Install dependencies | |
run: yarn --cwd Resources/Private/Frontend --frozen-lockfile | |
# Re-create Frontend dist files | |
- name: Re-create dist files | |
run: | | |
yarn --cwd Resources/Private/Frontend build | |
git add Resources/Public/Css Resources/Public/JavaScript | |
# Update PR | |
- name: Get last commit message | |
id: last-commit-message | |
run: echo "msg=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: ${{ steps.last-commit-message.outputs.msg }} | |
commit_options: '--amend --no-edit' | |
push_options: '--force' | |
skip_fetch: true |