Skip to content

Commit

Permalink
add: release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Okabe-Junya committed Oct 2, 2023
1 parent 5a73ffc commit 767af7c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version-resolver:
major:
labels:
- 'release: major'
minor:
labels:
- 'release: minor'
patch:
labels:
- 'release: patch'
4 changes: 4 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ changelog:
- maintenance
- refactor
- chore
- chore:deps
- chore:devdeps
- chore:ci
- ci

- title: "📝 Documentation"
labels:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release Drafter

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: release drafter
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 767af7c

Please sign in to comment.