File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow is provided via the organization template repository
2+ #
3+ # https://github.com/nextcloud/.github
4+ # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
6+ name : Pull request checks
7+
8+ on :
9+ pull_request :
10+ types : [opened, ready_for_review, reopened, synchronize]
11+
12+ permissions :
13+ contents : read
14+
15+ concurrency :
16+ group : fixup-${{ github.head_ref || github.run_id }}
17+ cancel-in-progress : true
18+
19+ jobs :
20+ commit-message-check :
21+ if : github.event.pull_request.draft == false
22+
23+ permissions :
24+ pull-requests : write
25+ name : Block fixup and squash commits
26+
27+ runs-on : ubuntu-latest
28+
29+ steps :
30+ - name : Run check
31+ uses : xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2
32+ with :
33+ repo-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments