Add fixup checker action

pull/1431/head
blizzz 2022-06-20 10:28:18 +02:00 zatwierdzone przez GitHub
rodzic 9d8b2b322f
commit 6b4d521a42
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 25 dodań i 0 usunięć

25
.github/workflows/fixup.yml vendored 100644
Wyświetl plik

@ -0,0 +1,25 @@
# 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
permissions:
contents: read
jobs:
commit-message-check:
permissions:
pull-requests: write
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 }}