Skip to content

Commit

Permalink
Add labeled and unlabeled events for PR changelog check action.
Browse files Browse the repository at this point in the history
Signed-off-by: Xun Jiang <jxun@vmware.com>
  • Loading branch information
Xun Jiang authored and danfengliu committed Sep 13, 2022
1 parent 331f302 commit 1ae8075
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pr-changelog-check.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
1 change: 1 addition & 0 deletions changelogs/unreleased/5157-jxun
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add labeled and unlabeled events for PR changelog check action.

0 comments on commit 1ae8075

Please sign in to comment.