2022-01-29 02:52:07 +03:00
|
|
|
# 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
|
|
|
|
|
2021-05-31 10:50:27 +03:00
|
|
|
name: Pull request checks
|
2022-01-29 02:52:07 +03:00
|
|
|
|
2021-05-31 10:50:27 +03:00
|
|
|
on: pull_request
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
commit-message-check:
|
|
|
|
name: Block fixup and squash commits
|
2022-01-29 02:52:07 +03:00
|
|
|
|
2021-05-31 10:50:27 +03:00
|
|
|
runs-on: ubuntu-latest
|
2022-01-29 02:52:07 +03:00
|
|
|
|
2021-05-31 10:50:27 +03:00
|
|
|
steps:
|
|
|
|
- name: Run check
|
2022-12-16 17:13:55 +03:00
|
|
|
uses: xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2
|
2021-05-31 10:50:27 +03:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|