From e1fc2f316e0b9914c00e92cae3feccc20df64d7d Mon Sep 17 00:00:00 2001 From: Haytham Abuelfutuh Date: Thu, 12 Aug 2021 10:08:32 -0700 Subject: [PATCH] Add github issues sync WF (#1330) Signed-off-by: Haytham Abuelfutuh --- .github/workflows/sync-issues-sheet.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/sync-issues-sheet.yml diff --git a/.github/workflows/sync-issues-sheet.yml b/.github/workflows/sync-issues-sheet.yml new file mode 100644 index 0000000000..d648614b35 --- /dev/null +++ b/.github/workflows/sync-issues-sheet.yml @@ -0,0 +1,21 @@ +name: github-project-issue-to-sheets + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + workflow_dispatch: + issues: + types: [opened, deleted, transferred, closed, reopened, assigned, unassigned, labeled, unlabeled] + +jobs: + github-project-issue-to-sheets: + runs-on: ubuntu-latest + name: github-project-issue-to-sheets + steps: + - name: github-project-issue-to-sheets + id: github-project-issue-to-sheets + uses: ViRGiL175/github-project-issue-to-sheets@dev + with: + google-api-service-account-credentials: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_DATA }} + document-id: '1vNb7ktLhL-ugL_ohNDFGUDpw71Av8VVC3hhiq1h8mto' + sheet-name: 'Github Issues'