nextcloud-desktop/.github/workflows/fixup.yml
Matthieu Gallien b04b232c32 add new fixup workflow from nextcloud org
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-05-20 13:53:18 +02:00

20 lines
511 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: Pull request checks
on: pull_request
jobs:
commit-message-check:
name: Block fixup and squash commits
runs-on: ubuntu-latest
steps:
- name: Run check
uses: xt0rted/block-autosquash-commits-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}