Update weekly-velocity-report.yml
This commit is contained in:
parent
c194a6ac3b
commit
3dcca31796
|
@ -4,8 +4,7 @@ name: Weekly Velocity Report
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
#- cron: "0 13 * * 1" # Runs every Monday at 9:00 AM UTC
|
- cron: "0 9 * * 1" # Runs every Monday at 9:00 AM UTC
|
||||||
- cron: '*/5 * * * *' # Test by running every 5 minutes
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -29,11 +28,16 @@ jobs:
|
||||||
|
|
||||||
- name: Append data to Google Sheet
|
- name: Append data to Google Sheet
|
||||||
if: success()
|
if: success()
|
||||||
uses: jroehl/gsheet.action@v2.0.0
|
uses: jroehl/gsheet-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
gcp_sa_key: ${{ secrets.GCP_SA_KEY }}
|
spreadsheetId: ${{ secrets.SPREADSHEET_ID }}
|
||||||
spreadsheet_id: ${{ secrets.SPREADSHEET_ID }}
|
commands: |
|
||||||
sheet_name: 'Weekly Reports' # The name of the tab in your sheet
|
[
|
||||||
data: ${{ steps.report.outputs.csv_data }}
|
{
|
||||||
major_dimension: 'ROWS'
|
"command": "appendData",
|
||||||
value_input_option: 'USER_ENTERED'
|
"params": {
|
||||||
|
"sheetName": "Weekly Reports",
|
||||||
|
"data": "${{ steps.report.outputs.csv_data }}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue