summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Morgan <[email protected]>2025-08-05 18:11:06 -0400
committerGitHub <[email protected]>2025-08-05 18:11:06 -0400
commit2e9236fab432eadb186215576069e13f65bde17b (patch)
treea7f079562c4c63f8a68a79c3c12532bd88192b46
parentdadf05809c4978455a646ab4ef95421fbe758657 (diff)
Update weekly-velocity-report.yml
-rw-r--r--.github/workflows/weekly-velocity-report.yml51
1 files changed, 16 insertions, 35 deletions
diff --git a/.github/workflows/weekly-velocity-report.yml b/.github/workflows/weekly-velocity-report.yml
index e6265481..91abc974 100644
--- a/.github/workflows/weekly-velocity-report.yml
+++ b/.github/workflows/weekly-velocity-report.yml
@@ -1,43 +1,24 @@
-# .github/workflows/weekly-velocity-report.yml
+name: Test Third-Party Action Access
-name: Weekly Velocity Report
-
-on:
- schedule:
- - cron: '0 9 * * 1' # Runs every Monday at 9:00 AM UTC
- workflow_dispatch:
+on: workflow_dispatch
jobs:
- generate_report:
+ test:
runs-on: ubuntu-latest
steps:
- - name: Checkout repository
+ - name: This is an official action that will likely work
uses: actions/checkout@v4
- - name: Generate Weekly Report as CSV
- id: report
- env:
- GH_TOKEN: ${{ secrets.GH_PAT }}
- GITHUB_REPO: ${{ github.repository }}
- run: |
- chmod +x ./.github/workflows/scripts/generate-report.sh
- REPORT_CSV=$(./.github/workflows/scripts/generate-report.sh)
- echo "csv_data<<EOF" >> $GITHUB_OUTPUT
- echo "$REPORT_CSV" >> $GITHUB_OUTPUT
- echo "EOF" >> $GITHUB_OUTPUT
-
- - name: Append data to Google Sheet
- if: success()
- uses: jroehl/[email protected]
+ - name: This is a very popular, non-official action
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+
+ - name: This is the Google Sheets action we want to use
+ uses: gautamkrishnar/append-csv-to-google-sheet-action@v2
with:
- spreadsheetId: ${{ secrets.SPREADSHEET_ID }}
- commands: |
- [
- {
- "command": "appendData",
- "params": {
- "sheetName": "Weekly Reports",
- "data": "${{ steps.report.outputs.csv_data }}"
- }
- }
- ]
+ # We don't need real inputs, we just want to see if it can be found
+ sheet-name: 'Test'
+ csv-text: 'test'
+ spreadsheet-id: 'test'
+ google-api-key-base64: 'test'