Update workflows

This commit is contained in:
EstrellaXD
2023-05-11 15:27:35 +08:00
parent 95e70d2138
commit 640e78faa2

View File

@@ -10,7 +10,9 @@ on:
jobs:
generate_release_draft:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
if:
- github.event.pull_request.merged == true
- github.event.pull_request.base.ref == 'main'
steps:
- name: Checkout code
uses: actions/checkout@v2