From c7c76a05816b4391eec6126ef9f42b0936fc08b9 Mon Sep 17 00:00:00 2001 From: Toni de la Fuente Date: Thu, 21 Oct 2021 12:15:09 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..48e6c71d --- /dev/null +++ b/.github/workflows/main.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: '1C-efuAzX_qQIqDSnSCLFFrow-GuVVF2vQUQpOCu5W6M' + sheet-name: 'Prowler GitHub Issues'