Skip to content

Update issues-to-sheets.yml #3

Update issues-to-sheets.yml

Update issues-to-sheets.yml #3

name: gsheet.action test
on: push
jobs:
fetch:
runs-on: ubuntu-latest
steps:
- id: 'update_worksheet'
uses: jroehl/[email protected] # you can specify '@release' to always have the latest changes
with:
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"]] }}
]
env:
GSHEET_CLIENT_EMAIL: ${{ secrets.GSHEET_CLIENT_EMAIL }}
GSHEET_PRIVATE_KEY: ${{ secrets.GSHEET_PRIVATE_KEY }}
- name: dump results
env:
# the output of the action can be found in ${{ steps.update_worksheet.outputs.results }}
RESULTS: ${{ steps.update_worksheet.outputs.results }}
run: echo "$RESULTS" | jq