nextcloud-desktop/.github/workflows/fixup.yml
dependabot[bot] a6d48ef5db Bump skjnldsv/block-fixup-merge-action from 1 to 2
Bumps [skjnldsv/block-fixup-merge-action](https://github.com/skjnldsv/block-fixup-merge-action) from 1 to 2.
- [Release notes](https://github.com/skjnldsv/block-fixup-merge-action/releases)
- [Commits](42d26e1b53...c138ea99e4)

---
updated-dependencies:
- dependency-name: skjnldsv/block-fixup-merge-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-14 09:56:54 +02:00

33 lines
848 B
YAML

# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Block fixup and squash commits
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: fixup-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
commit-message-check:
if: github.event.pull_request.draft == false
permissions:
pull-requests: write
name: Block fixup and squash commits
runs-on: ubuntu-latest-low
steps:
- name: Run check
uses: skjnldsv/block-fixup-merge-action@c138ea99e45e186567b64cf065ce90f7158c236a # v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}