github: change to form-based issue template #1658
Workflow file for this run
This file contains hidden or 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: Pull Request Stats | |
on: | |
pull_request: | |
types: [opened] | |
permissions: | |
# Required to post stats as comments. | |
actions: write | |
# Default permission for checking out code. | |
contents: read | |
jobs: | |
stats: | |
runs-on: ubuntu-latest | |
# Check if the PR is from the base repo (not a fork). Only the | |
# collaborators have the permission to create a side branch from the base | |
# repo, so this implicitly restricts who can run this job. | |
if: github.event.pull_request.head.repo.fork == false | |
steps: | |
- name: Run pull request stats | |
uses: flowwer-dev/pull-request-stats@v2.11.0 | |
with: | |
period: 30 # 30 days of review stats | |
charts: true |