diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-08-11 09:58:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 09:58:23 +0300 |
commit | fd98806ac9a185c8e3766199fbe38309313e351a (patch) | |
tree | 9f0ce1aa5a1aa0df72975890d889aeedf974ee89 | |
parent | 3fa3fd46ea0d3cf1eb56915403130fbe143baee8 (diff) |
Create fixup.yml
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | .github/workflows/fixup.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/fixup.yml b/.github/workflows/fixup.yml new file mode 100644 index 0000000..6092cc3 --- /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 }} |