Improve repository.

- add kokuwa checkstyle
- add dependabot
- add dependency documentation
- add code owners
- add codeql
- add license badge
This commit is contained in:
Stephan Schnabel 2022-01-25 11:30:00 +01:00
parent f92d80d1a9
commit e8fbf1b28c
Signed by: stephan.schnabel
GPG key ID: E07AF5BA239FE543
10 changed files with 202 additions and 48 deletions

22
.github/workflows/dependabot.yaml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Dependabot
"on": pull_request_target
jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: dependabot/fetch-metadata@v1.1.1
id: metadata
with:
github-token: "${{ secrets.GIT_ACTION_TOKEN }}"
- run: gh pr review --approve "$PR_URL"
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GIT_ACTION_TOKEN }}
- run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GIT_ACTION_TOKEN }}