Generate project activity report #2
Workflow file for this run
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: "Generate project activity report" | |
on: | |
workflow_dispatch: | |
inputs: | |
since: | |
description: "Since date (x months ago, yyyy-mm-dd)" | |
type: string | |
required: true | |
default: "3 months ago" | |
until: | |
description: "Until date (now, x months ago, yyyy-mm-dd)" | |
type: string | |
required: true | |
default: "now" | |
jobs: | |
generate: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: generate report | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh issue list --state all --repo $REPO --limit 100 | |
SINCE="${{ inputs.since }}" UNTIL="${{ inputs.until }}" bash ./.github/workflows/activity-report.sh >> $GITHUB_STEP_SUMMARY |