Skip to content

chore(deps-dev): Bump vite from 7.3.2 to 8.0.7 #1446

chore(deps-dev): Bump vite from 7.3.2 to 8.0.7

chore(deps-dev): Bump vite from 7.3.2 to 8.0.7 #1446

# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Transifex conventional commits
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: transifex-conventional-rebase-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
transifex-conventional-rebase:
name: Rebase transifex PR with conventional commits
if: github.event.pull_request.user.login == 'transifex-integration[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
ref: ${{ github.head_ref }}
- uses: webiny/action-conventional-commits@faccb24fc2550dd15c0390d944379d2d8ed9690e # v1.3.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup git
if: failure()
run: |
git config --local user.email '[email protected]'
git config --local user.name 'nextcloud-command'
- name: Rebase on failure
if: failure()
run: |
git fetch origin '${{ github.base_ref }}:${{ github.base_ref }}'
git rebase --exec 'git commit --amend --no-verify -m "chore(l10n): $(git show -s --format=%s)"' 'HEAD~${{ github.event.pull_request.commits }}'
git push --force --set-upstream origin ${{ github.head_ref }}
# We already have the block-unconventional-commits action to fail if necessary
- name: Success
if: always()
run: |
echo "Success"
exit 0