Skip to content

Add PR metrics action #6

Add PR metrics action

Add PR metrics action #6

name: "PR Analytics"
on:
pull_request:
workflow_dispatch:
inputs:
report_date_start:
description: "Report date start (d/MM/yyyy)"
report_date_end:
description: "Report date end (d/MM/yyyy)"
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 }} # In the case of a personal access token, it needs to be added to the repository's secrets and used in this field.
GITHUB_REPO_FOR_ISSUE: pm
GITHUB_OWNER_FOR_ISSUE: cowprotocol
GITHUB_OWNERS_REPOS: "cowprotocol/services"
CORE_HOURS_START: "9:00"
CORE_HOURS_END: "19:00"
TIMEZONE: "Europe/Berlin"
# REPORT_DATE_START: ${{ inputs.report_date_start }}
# REPORT_DATE_END: ${{ inputs.report_date_end }}
USE_CHARTS: true
SHOW_CORRELATION_GRAPHS: true
SHOW_ACTIVITY_TIME_GRAPHS: true
EXECUTION_OUTCOME: "markdown, new-issue"
REPORT_DATE_START: 01/10/2024
REPORT_DATE_END: 01/11/2024