Skip to content

Commit 07c79a7

Browse files
authored
Merge pull request #15 from devrev/codeon-patch-3
Run global checks and validate description when label is added to PR
2 parents 85822a0 + 5ff766f commit 07c79a7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/global-checks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: global checks
22

3-
on: pull_request
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, labeled]
46

57
jobs:
68
global_checks:

.github/workflows/validate-description.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
# Do check out and run code from the pull request's head commit.
66
# It is suitable for this usecase as we are only looking at PR description.
77
pull_request_target:
8-
types: [opened, synchronize, reopened, edited]
8+
types: [opened, synchronize, reopened, edited, labeled]
99

1010
jobs:
1111
validate_description:

0 commit comments

Comments
 (0)