Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit cd05b9e

Browse files
committed
dot notation for the win
1 parent 77cb5f2 commit cd05b9e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,15 @@ steps:
141141
owner: "%payload.repository.owner.login%"
142142
repo: "%payload.repository.name%"
143143
action_id: projectBoard
144-
# - type: octokit
145-
# method: projects.listColumns
146-
# project_id: "%actions.projectBoard.data[0].id%"
147-
# action_id: listColumns
144+
- type: octokit
145+
method: projects.listColumns
146+
project_id: "%actions.projectBoard.data.0.id%"
147+
action_id: listColumns
148148
- type: respond
149149
with: 03_add-to-projects.md
150150
issue: 3
151151
data:
152-
listProj: "%actions.projectBoard.data.0.id%"
152+
listProj: "%actions.projectBoard.data%"
153153
listCol: "%actions.listColumns.data%"
154-
columnID: "%actions.listColumns.data[0].id%"
154+
columnID: "%actions.listColumns.data.0.id%"
155155
quicklink: "%payload.repository.html_url%/edit/master/.github/workflows/my-workflow.yml%"

responses/03_add-to-projects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# let's add a card to a project board
22

3-
## Project board
3+
<!-- ## Project board
44
55
{{listProj}}
66
77
## Column list
88
9-
{{listCol}}
9+
{{listCol}} -->
1010

1111
### :keyboard: Activity: Add newly opened issue to project board
1212

0 commit comments

Comments
 (0)