Skip to content

Commit

Permalink
Merge pull request #156
Browse files Browse the repository at this point in the history
CI/CD
  • Loading branch information
sercheo87 authored Jun 9, 2024
2 parents 7f932b3 + 1d70d0c commit 2495402
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/npm-release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
name: Node.js Release Drafter

on:
push:
branches:
- 'feature/**'
- 'bugfix/**'
- 'hotfix/**'
- 'develop'
push:
branches:
- 'feature/**'
- 'bugfix/**'
- 'hotfix/**'
- 'develop'

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}

0 comments on commit 2495402

Please sign in to comment.