File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : Welcome
2
2
on :
3
3
pull_request :
4
+ types :
5
+ # On by default if you specify no types.
6
+ - " opened"
7
+ - " reopened"
8
+ - " synchronize"
9
+ # For `skip-label` only.
10
+ - " labeled"
11
+ - " unlabeled"
4
12
5
13
jobs :
6
14
release-template :
39
47
})
40
48
}
41
49
50
+ check-for-changeset :
51
+ name : Check for changeset
52
+ runs-on : ubuntu-latest
53
+ env :
54
+ SKIP_LABEL : " skip changeset"
55
+ steps :
56
+ - if : " contains(github.event.pull_request.labels.*.name, 'skip changeset')"
57
+ run : echo "passed"; exit 0;
58
+ - if : " !contains(github.event.pull_request.labels.*.name, 'skip changeset')"
59
+ uses : actions/checkout@v4
60
+ with :
61
+ ref : ${{ github.event.pull_request.head.sha }}
62
+ - if : " !contains(github.event.pull_request.labels.*.name, 'skip changeset')"
63
+ name : " Check for changeset"
64
+ run : script/check-for-changeset
65
+
42
66
bundle-stats :
43
67
needs : release-template
44
68
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments