diff --git a/.github/workflows/draft_github_release_post.yml b/.github/workflows/draft_github_release_post.yml index 965a3d2b5..1f3e60dc9 100644 --- a/.github/workflows/draft_github_release_post.yml +++ b/.github/workflows/draft_github_release_post.yml @@ -2,7 +2,7 @@ name: Draft GitHub Release Post on: workflow_dispatch: - pull_requests: + pull_request: paths: - 'version.txt' types: @@ -18,8 +18,8 @@ jobs: with: fetch-depth: 0 - uses: actions/setup-python@v2 - with: - python-version: '3.7.12' + with: + python-version: '3.7.12' - name: generate draft id: generate_draft run: |