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 }}