Skip to content

Commit

Permalink
Merge pull request #5157 from blackpiglet/modify-changelog-check-acti…
Browse files Browse the repository at this point in the history
…on-condition

Add labeled and unlabeled events for PR changelog check action.
  • Loading branch information
qiuming-best authored Jul 29, 2022
2 parents 5f15f02 + cd643bb commit f2ef40c
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 f2ef40c

Please sign in to comment.