Update workflows

This commit is contained in:
EstrellaXD
2023-05-11 15:28:13 +08:00
parent 92b10acd2f
commit a9b78d4d7c

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