Skip to content

[TASK]: Bump stylelint in /Resources/Private/Frontend #493

[TASK]: Bump stylelint in /Resources/Private/Frontend

[TASK]: Bump stylelint in /Resources/Private/Frontend #493

Workflow file for this run

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