Updating fixup.yml workflow from template

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
This commit is contained in:
Nextcloud bot 2022-01-28 23:52:07 +00:00
parent a05a931749
commit d0907710b4

View file

@ -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 name: Pull request checks
on: pull_request on: pull_request
jobs: jobs:
commit-message-check: commit-message-check:
name: Block fixup and squash commits name: Block fixup and squash commits
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Run check - name: Run check
uses: xt0rted/block-autosquash-commits-action@main uses: xt0rted/block-autosquash-commits-action@v2
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}