Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/pr-stats.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Pull Request Stats

permissions:
contents: read
pull-requests: write

on:
schedule:
# Run every workday (Monday-Friday) at 9am UTC
- cron: '0 9 * * 1-5'

jobs:
stats:
runs-on: ubuntu-latest
steps:
- name: Run pull request stats
uses: flowwer-dev/pull-request-stats@v3.2.2
with:
slackWebhook: ${{ secrets.PRUNA_WEBHOOK_URL }}
slackChannel: ${{ vars.PRUNA_SLACK_CHANNEL }}
period: ${{ vars.PRUNA_WEBHOOK_PERIOD }}
charts: true
stats: ${{ vars.PRUNA_WEBHOOK_STATS }}
sortBy: ${{ vars.PRUNA_WEBHOOK_SORT_BY }}