diff options
| -rw-r--r-- | .github/workflows/weekly-velocity-report.yml | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/.github/workflows/weekly-velocity-report.yml b/.github/workflows/weekly-velocity-report.yml index 6dfb7d77..7d11af5f 100644 --- a/.github/workflows/weekly-velocity-report.yml +++ b/.github/workflows/weekly-velocity-report.yml @@ -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/[email protected] + uses: jroehl/[email protected] 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 }}" + } + } + ] |
