From 4f97a415dceb1cd9e85eeaf251a45fe6bcb93212 Mon Sep 17 00:00:00 2001 From: Gahan Saraiya Date: Thu, 25 Jan 2024 09:41:30 +0530 Subject: [PATCH] Create pull-request-analytics.yml --- .github/workflows/pull-request-analytics.yml | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pull-request-analytics.yml diff --git a/.github/workflows/pull-request-analytics.yml b/.github/workflows/pull-request-analytics.yml new file mode 100644 index 0000000..56f57e2 --- /dev/null +++ b/.github/workflows/pull-request-analytics.yml @@ -0,0 +1,27 @@ +name: "PR Analytics" +on: + workflow_dispatch: + inputs: + report_date_start: + description: "Report date start(d/MM/yyyy)" + required: false + report_date_end: + description: "Report date end(d/MM/yyyy)" + required: false +jobs: + create-report: + name: "Create report" + runs-on: ubuntu-latest + steps: + - name: "Run script for analytics" + uses: AlexSim93/pull-request-analytics-action@master + with: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + GITHUB_REPO_FOR_ISSUE: "intel/xml-cli" + GITHUB_OWNER_FOR_ISSUE: "intel/xml-cli-maintain" + GITHUB_OWNERS_REPOS: "intel/xml-cli-maintain" + CORE_HOURS_START: "9:00" + CORE_HOURS_END: "19:00" + TIMEZONE: "Asia/Kolkata" + REPORT_DATE_START: ${{ inputs.report_date_start }} + REPORT_DATE_END: ${{ inputs.report_date_end }}