summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-01-28 23:44:29 +0000
committerNextcloud bot <bot@nextcloud.com>2022-01-28 23:44:29 +0000
commit4b967e0f050d5e0e01d638c1db1a41f9014f65f6 (patch)
treee867fb406455823a546124abc5c3dce3dade6141 /.github/workflows
parent922f5dd146d946ebe4cf2efe2ced372a71a2b7e9 (diff)
Updating fixup.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/fixup.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/fixup.yml b/.github/workflows/fixup.yml
index 3d20975d..6092cc3a 100644
--- a/.github/workflows/fixup.yml
+++ b/.github/workflows/fixup.yml
@@ -1,12 +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@main
+ uses: xt0rted/block-autosquash-commits-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}