Skip to content

PR Analytics

PR Analytics #7

name: "PR Analytics"
on:
workflow_dispatch:
inputs:
report_date_start:
description: "Report date start (d/MM/yyyy)"
report_date_end:
description: "Report date end (d/MM/yyyy)"
repository:
description: "Repo to analyze (owner/repo)"
default: "cowprotocol/services"
jobs:
create-report:
name: "Create report"
runs-on: ubuntu-latest
steps:
- name: "Run script for analytics"
uses: AlexSim93/pull-request-analytics-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPO_FOR_ISSUE: pm
GITHUB_OWNER_FOR_ISSUE: cowprotocol
GITHUB_OWNERS_REPOS: ${{ inputs.repository }}
REPORT_DATE_START: ${{ inputs.report_date_start }}
REPORT_DATE_END: ${{ inputs.report_date_end }}
CORE_HOURS_START: "9:00"
CORE_HOURS_END: "19:00"
TIMEZONE: "Europe/Berlin"
USE_CHARTS: true
SHOW_CORRELATION_GRAPHS: true
SHOW_ACTIVITY_TIME_GRAPHS: true
EXECUTION_OUTCOME: "new-issue"