Fix workflow trigger on release (#501)

Need to limit releases to the published events,
otherwise it gets re-triggered on every release notes editing.
This commit is contained in:
Yuri Astrakhan 2022-12-04 00:34:13 -05:00 committed by GitHub
parent c1b65796f6
commit 3c3f4ecd51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ on:
pull_request:
branches: [main]
release:
branches: [main]
types: [published]
workflow_dispatch:
jobs:

View File

@ -6,7 +6,7 @@ on:
pull_request:
branches: [main]
release:
branches: [main]
types: [published]
workflow_dispatch:
jobs: