Skip to content

Commit 51ff78b

Browse files
committed
add workflow
1 parent 2bf2ccc commit 51ff78b

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.DS_Store

6 KB
Binary file not shown.

.github/main.workflow

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workflow "Apply PR labels" {
2-
on = "pull_request"
2+
on = "push"
33
resolves = "Apply labels"
44
}
55

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
workflow "Apply PR labels" {
2+
on = "pull_request"
3+
resolves = "Apply labels"
4+
}
5+
6+
action "On sync" {
7+
uses = "actions/bin/filter@master"
8+
args = "action synchronize"
9+
}
10+
11+
action "Apply labels" {
12+
uses = "actions/labeller@v1.0.0"
13+
needs = "On sync"
14+
env = {LABEL_SPEC_FILE=".github/triage.yml"}
15+
secrets = ["GITHUB_TOKEN"]
16+
}

0 commit comments

Comments
 (0)