Skip to content

Commit

Permalink
Add CODEOWNERS and autosquash (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
markelliot authored Sep 12, 2022
1 parent 2a1cd78 commit f2aecf1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# require code review for everything except versions
.github @markelliot
.spotless @markelliot
*/src/ @markelliot
readme.md @markelliot
23 changes: 23 additions & 0 deletions .github/workflows/autosquash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: autosquash
on:
pull_request:
types:
- opened
- synchronized
- reopened
- edited
- labeled
- unlabeled
- ready_for_review
jobs:
autosquash:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: theoremlp/autosquash@v1
with:
github-token: ${{ secrets.GH_PUSH_TO_REPO_TOKEN }}
pull-request-number: ${{ github.event.pull_request.number }}
squash-commit-title: "${{ github.event.pull_request.title }} (#${{ github.event.pull_request.number }})"
squash-commit-message: "${{ github.event.pull_request.body }}"
do-not-merge-label: "do not merge"

0 comments on commit f2aecf1

Please sign in to comment.