Update weekly-velocity-report.yml

This commit is contained in:
Bryan Morgan 2025-08-05 17:00:44 -04:00 committed by GitHub
parent c194a6ac3b
commit 3dcca31796
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 9 deletions

View File

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