Add labeled and unlabeled events for PR changelog check action.

Signed-off-by: Xun Jiang <jxun@vmware.com>
pull/5157/head
Xun Jiang 2022-07-28 17:43:34 +08:00
parent abe601042c
commit cd643bbac9
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,9 @@
name: Pull Request Changelog Check
on: [pull_request]
# by setting `on: [pull_request]`, that means action will be trigger when PR is opened, synchronize, reopened.
# Add labeled and unlabeled events too.
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
build:

View File

@ -0,0 +1 @@
Add labeled and unlabeled events for PR changelog check action.