-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (45 loc) · 1.5 KB
/
analytics-pr-im-funding.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "Manual Execution for All Organization Repositories"
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
issue_title:
description: "Issue title"
required: false
period_split_unit:
description: "Unit for time segmentation"
required: false
default: "months"
type: choice
options:
- years
- quarters
- months
- none
jobs:
create-report:
name: "Create report"
runs-on: ubuntu-latest
steps:
- name: "Run script for analytics"
uses: AlexSim93/pull-request-analytics-action@v2
with:
GITHUB_TOKEN: ${{ secrets.IM_ORG_REPO_TOKEN }}
LABELS: "PR Activity Report"
ORGANIZATIONS: "im-funding,im-platform,im-practices"
# GITHUB_OWNERS_REPOS: ${{ vars.PR_ANALYTICS_REPOS }}
GITHUB_OWNER_FOR_ISSUE: "michael-guthrie"
GITHUB_REPO_FOR_ISSUE: "github-actions-sandbox"
SHOW_USERS: ${{ vars.PR_ANALYTICS_SHOW_USERS }}
CORE_HOURS_START: "2:00"
CORE_HOURS_END: "18:00"
TIMEZONE: "america/denver"
REPORT_DATE_START: ${{ inputs.report_date_start }}
REPORT_DATE_END: ${{ inputs.report_date_end }}
ISSUE_TITLE: ${{ inputs.issue_title }}
PERIOD_SPLIT_UNIT: ${{ inputs.period_split_unit }}