Skip to content

Commit

Permalink
chore: add setting for release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
hayawata3626 committed Nov 12, 2023
1 parent 92726f7 commit 1e6465f
Show file tree
Hide file tree
Showing 5 changed files with 1,201 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{

Check warning on line 1 in .commitlintrc.json

View workflow job for this annotation

GitHub Actions / Lint Code Base

File ignored by default.

Check warning on line 1 in .commitlintrc.json

View workflow job for this annotation

GitHub Actions / Lint Code Base

File ignored by default.
"extends": ["@commitlint/config-conventional"]
}
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: release-please

on:
push:
branches: [main]

workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: team-approval-checker
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit
Loading

0 comments on commit 1e6465f

Please sign in to comment.