Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_antivirus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/fixup.yml')
-rw-r--r--.github/workflows/fixup.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/fixup.yml b/.github/workflows/fixup.yml
new file mode 100644
index 0000000..e2da632
--- /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 }}