PR Analytics #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.GENERATED_TOKEN }} # Generate a classic token, add it to Actions secrets, and use it in this field | |
GITHUB_REPO_FOR_ISSUE: "repo" # Make sure to specify the name of the repository where the issue will be created | |
GITHUB_OWNER_FOR_ISSUE: "owner" # Make sure to specify the owner of the repository where the issue will be created | |
GITHUB_OWNERS_REPOS: "owner/repo" # 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 }} |