From: Matthieu Gallien Date: Wed, 18 May 2022 10:11:03 +0000 (+0200) Subject: add new fixup workflow from nextcloud org X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~15^2~196^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b04b232c32238d6b142689c2747a24c0cab4c28e;p=nextcloud-desktop.git add new fixup workflow from nextcloud org Signed-off-by: Matthieu Gallien --- diff --git a/.github/workflows/fixup.yml b/.github/workflows/fixup.yml new file mode 100644 index 000000000..6092cc3a5 --- /dev/null +++ b/.github/workflows/fixup.yml @@ -0,0 +1,20 @@ +# 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 }}