2022-10-04 18:47:57 -07:00
|
|
|
name: Pull Request Stats
|
|
|
|
|
|
|
|
on:
|
2022-10-04 19:02:51 -07:00
|
|
|
push:
|
|
|
|
branches: [ master, 'Release-*' ]
|
|
|
|
tags: [ 'v*' ]
|
|
|
|
release:
|
|
|
|
types: [released]
|
|
|
|
# Triggers the workflow only when merging pull request to the branches.
|
2022-10-04 18:47:57 -07:00
|
|
|
pull_request:
|
2022-10-04 18:57:18 -07:00
|
|
|
types: [opened, closed]
|
2022-10-04 19:02:51 -07:00
|
|
|
branches: [ master, 'Release-*', '*' ]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
|
workflow_dispatch:
|
2022-10-04 18:47:57 -07:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
stats:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Run pull request stats
|
|
|
|
uses: flowwer-dev/pull-request-stats@master
|
2022-10-04 19:09:17 -07:00
|
|
|
with:
|
|
|
|
period: 365
|