.github: get build and CI triggered by opened, synchronize

Build and CI tests should run automatically whenever a pull request is
opened, reopened or updated. On the other hand, it is not necessary to
run build and CI tests on the events ready_for_review and
review_requested.
This commit is contained in:
Dongsu Park 2023-04-26 16:05:59 +02:00
parent fb8b1371b7
commit bbc3ae71dd

View File

@ -1,9 +1,8 @@
name: "Run build"
on:
pull_request:
# Run when the PR is ready and each time a review is re-requested
# (i.e. after feedback has been addressed).
types: [review_requested, ready_for_review]
# Run when the PR is opened, reopened, or updated (synchronize)
types: [opened, reopened, synchronize]
workflow_dispatch:
inputs:
image_formats: