Skip to content

chore: Add CI workflow to check for backport request #2

chore: Add CI workflow to check for backport request

chore: Add CI workflow to check for backport request #2

name: Ensure changes are migrated to Vue3
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize, labeled]
branches:
- main
- master
permissions:
contents: read
concurrency:
group: vue3-backport-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
commit-message-check:
if: github.event.pull_request.draft == false
name: Require Vue3 migration backport
runs-on: ubuntu-latest
steps:
- name: Run check
run: |
if ! ${{ contains(github.event.pull_request.labels.*.name, 'backport-request') }}; then
echo "Please request a backport to the next-branch for our ongoing Vue 3 migration. Simply comment '/backport to next'";
exit 1;
fi