diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-06-24 12:33:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 12:33:44 +0300 |
commit | 1fd13acf455ec85c4bf3e048c201c4ece4cce19d (patch) | |
tree | ebbcabd25c281dcde0042639e1755c8bd269c331 | |
parent | 60ad644f5089f27f9d7b4c59ddbe466119630a0c (diff) |
Create fixup.yml
-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 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 }} |