summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Morgan <[email protected]>2025-08-05 20:01:18 -0400
committerGitHub <[email protected]>2025-08-06 00:01:18 +0000
commit02f7e48c51efab542d734ea23bec3ef375cd3d7d (patch)
treec170d57e45d25a726f5bc8525a568add06e234cf
parentaeb660226669a030c483f7e3945a4b797519715f (diff)
Removed GitHub Actions experiment files (#5627)
-rw-r--r--.github/workflows/scripts/generate-report.sh23
-rw-r--r--.github/workflows/weekly-velocity-report.yml24
2 files changed, 0 insertions, 47 deletions
diff --git a/.github/workflows/scripts/generate-report.sh b/.github/workflows/scripts/generate-report.sh
deleted file mode 100644
index 62dfb18c..00000000
--- a/.github/workflows/scripts/generate-report.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# --- Date Calculation ---
-START_DATE=$(date -d "last Friday" +%Y-%m-%d)
-END_DATE=$(date -d "last Thursday" +%Y-%m-%d)
-DATE_RANGE="${START_DATE}..${END_DATE}"
-
-# --- Report Generation ---
-# Print a header row for the CSV
-echo "Date Range,Username,PRs Submitted,Issues Closed"
-
-# Get a list of all repository contributors, filter out bots, and extract the login name
-USERNAMES=$(gh repo contributors --repo "${GITHUB_REPO}" --json "login" --jq '.[] | select(.login | contains("[bot]") | not) | .login')
-
-# Loop through each user and generate a data row
-for USER in $USERNAMES; do
- # Get metrics using the GitHub CLI
- PRS_SUBMITTED=$(gh pr list --author "${USER}" --search "created:${DATE_RANGE}" --repo "${GITHUB_REPO}" --json number --jq 'length')
- ISSUES_CLOSED=$(gh issue list --search 'closer:"${USER}" closed:${DATE_RANGE}' --repo "${GITHUB_REPO}" --json number --jq 'length')
-
- # Print the data as a CSV row
- echo "${START_DATE} to ${END_DATE},${USER},${PRS_SUBMITTED},${ISSUES_CLOSED}"
-done
diff --git a/.github/workflows/weekly-velocity-report.yml b/.github/workflows/weekly-velocity-report.yml
deleted file mode 100644
index dc0471bb..00000000
--- a/.github/workflows/weekly-velocity-report.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-name: Test Third-Party Action Access
-
-on: workflow_dispatch
-
-jobs:
- test:
- runs-on: ubuntu-latest
- steps:
- - name: This is an official action that will likely work
- uses: actions/checkout@v4
-
- - 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:
- # 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'