Skip to content

chore: target을 옵셔널 변수로 처리 #9

chore: target을 옵셔널 변수로 처리

chore: target을 옵셔널 변수로 처리 #9

name: Reusable Workflow For Draft-Release
on:
workflow_call:
pull_request:
types: [closed]
jobs:
draft-release:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && github.base_ref == 'main'
steps:
- name: Release drafter
uses: release-drafter/release-drafter@v5
with:
config-name: config.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}