feat:외부에서 공유 url 받아오기 #118
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prevent Merge of Draft PRs | |
on: | |
pull_request: | |
types: | |
- synchronize | |
- opened | |
- labeled | |
jobs: | |
prevent_merge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if PR is a draft | |
run: | | |
if [ "${{ github.event.pull_request.draft }}" == "true" ]; then | |
echo "Draft PRs are not allowed to be merged." | |
exit 1 | |
fi |