Skip to content

Commit

Permalink
Update issues-to-sheets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
holylovenia authored Nov 10, 2023
1 parent 44d9177 commit cf46b4c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/issues-to-sheets.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: gsheet.action test
on: push
xname: gsheet.action test
on:
pull_request:
types: [opened, deleted, closed, reopened]

jobs:
fetch:
Expand All @@ -11,8 +13,7 @@ jobs:
spreadsheetId: 1aIAwzMgDdXQUr2A_A_sC3ShEjQky-gYEzqB1TbPzdjA
commands: | # list of commands, specified as a valid JSON string
[
{ "command": "addWorksheet", "args": { "worksheetTitle": "GitHub Issues Tracker" }},
{ "command": "updateData", "args": { "data": [["A1", "A2", "A3"]] }}
{ "command": "updateData", "args": { "worksheetTitle": "GitHub Issues Tracker", "data": [[github.event.pull_request]] }}
]
env:
GSHEET_CLIENT_EMAIL: ${{ secrets.GSHEET_CLIENT_EMAIL }}
Expand Down

0 comments on commit cf46b4c

Please sign in to comment.