File tree 1 file changed +43
-0
lines changed 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Send Issue to How We Work Boards
2
+
3
+ on :
4
+ issues :
5
+ types :
6
+ - labeled
7
+ - reopened
8
+
9
+ jobs :
10
+ triage :
11
+ runs-on : ubuntu-latest
12
+ continue-on-error : true
13
+ steps :
14
+ - if : contains(github.event.issue.labels.*.name, 'feature')
15
+ uses : actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
16
+ with :
17
+ github-token : ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
18
+ script : |
19
+ var column_id = 13445681;
20
+ try {
21
+ github.projects.createCard({
22
+ column_id: column_id,
23
+ content_id: context.payload.issue.id,
24
+ content_type: "Issue"
25
+ });
26
+ } catch (error) {
27
+ console.log(error);
28
+ }
29
+ - if : contains(github.event.issue.labels.*.name, 'epic')
30
+ uses : actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
31
+ with :
32
+ github-token : ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
33
+ script : |
34
+ var column_id = 13445932;
35
+ try {
36
+ github.projects.createCard({
37
+ column_id: column_id,
38
+ content_id: context.payload.issue.id,
39
+ content_type: "Issue"
40
+ });
41
+ } catch (error) {
42
+ console.log(error);
43
+ }
You can’t perform that action at this time.
0 commit comments