diff options
author | Azul <azul@riseup.net> | 2021-08-02 10:52:13 +0300 |
---|---|---|
committer | Azul <azul@riseup.net> | 2021-08-02 10:54:00 +0300 |
commit | 844644c85f4874ed8d5de4c74830b3919e88c134 (patch) | |
tree | cfa099b5408c214dc81925980d480068c145f729 /.github | |
parent | 0d842d2a63805a1f8d633faca825ba9dc3f7fc71 (diff) |
ci: run the fixup check from nextcloud organization
Signed-off-by: Azul <azul@riseup.net>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/fixup.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/fixup.yml b/.github/workflows/fixup.yml new file mode 100644 index 000000000..f007e78bf --- /dev/null +++ b/.github/workflows/fixup.yml @@ -0,0 +1,21 @@ +# 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 }} + |