diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-06-20 11:04:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 11:04:03 +0200 |
commit | 6504fc331237ad6f56f81ac4624c6745fff4a818 (patch) | |
tree | f18287b7282009a55d59baf1ebf3411f01a98669 | |
parent | 9d8b2b322f4967712327d0a33bf84845fb48babb (diff) | |
parent | 6b4d521a4214e70277ce4bc64a6ee65e4f9be2cd (diff) |
Merge pull request #1431 from nextcloud/fix-fixup-checks
Add fixup checker action
-rw-r--r-- | .github/workflows/fixup.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/fixup.yml b/.github/workflows/fixup.yml new file mode 100644 index 00000000..e2da6329 --- /dev/null +++ b/.github/workflows/fixup.yml @@ -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 }} |