From ace206a4a07309310e47053fbe565eb61db58cf5 Mon Sep 17 00:00:00 2001 From: Garvit Singhal <82756460+GarvitSinghal47@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:59:54 +0530 Subject: [PATCH 1/2] Feat: added update-spreadsheet action --- .github/workflows/update-pr-spreadsheet.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/update-pr-spreadsheet.yml diff --git a/.github/workflows/update-pr-spreadsheet.yml b/.github/workflows/update-pr-spreadsheet.yml new file mode 100644 index 000000000..3e3132c41 --- /dev/null +++ b/.github/workflows/update-pr-spreadsheet.yml @@ -0,0 +1,16 @@ +name: PR Event Workflow +on: + pull_request_target: + types: [opened, reopened, edited, closed, synchronize, assigned, unassigned, review_requested, review_request_removed] + pull_request_review: + types: [submitted, edited, dismissed] + issue_comment: + types: [created, edited, deleted] + +jobs: + call-update-spreadsheet: + uses: learningequality/.github/.github/workflows/update-pr-spreadsheet.yml@main + secrets: + CONTRIBUTIONS_SPREADSHEET_ID: ${{ secrets.CONTRIBUTIONS_SPREADSHEET_ID }} + CONTRIBUTIONS_SHEET_NAME: ${{ secrets.CONTRIBUTIONS_SHEET_NAME }} + GH_UPLOADER_GCP_SA_CREDENTIALS: ${{ secrets.GH_UPLOADER_GCP_SA_CREDENTIALS }} From b9b700d11a199d566ee726b79cc982320aea161d Mon Sep 17 00:00:00 2001 From: Michaela Robosova Date: Mon, 2 Dec 2024 20:58:17 +0100 Subject: [PATCH 2/2] Update .github/workflows/update-pr-spreadsheet.yml --- .github/workflows/update-pr-spreadsheet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-pr-spreadsheet.yml b/.github/workflows/update-pr-spreadsheet.yml index 3e3132c41..e7b3d125e 100644 --- a/.github/workflows/update-pr-spreadsheet.yml +++ b/.github/workflows/update-pr-spreadsheet.yml @@ -1,4 +1,4 @@ -name: PR Event Workflow +name: Update community pull requests spreadsheet on: pull_request_target: types: [opened, reopened, edited, closed, synchronize, assigned, unassigned, review_requested, review_request_removed]