-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (27 loc) · 1.2 KB
/
pull-request-analytics.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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@v3
with:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} # Generate a classic token, add it to Actions secrets, and use it in this field
GITHUB_REPO_FOR_ISSUE: "philipp-math-garden" # Make sure to specify the name of the repository where the issue will be created
GITHUB_OWNER_FOR_ISSUE: "TheMuellenator" # Make sure to specify the owner of the repository where the issue will be created
GITHUB_OWNERS_REPOS: "TheMuellenator/philipp-math-garden" # Be sure to list the owner and repository name in the format owner/repo
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 }}