CI: reduce cache size and auto clean caches #1548
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: | |
actions: write # Required to post stats as comments. | |
contents: read # Default permission for checking out code | |
jobs: | |
stats: | |
runs-on: ubuntu-latest | |
# This condition checks for pull requests from authors with write access. | |
if: github.event_name == 'pull_request' && | |
(github.event.pull_request.author_association == 'MEMBER' || | |
github.event.pull_request.author_association == 'OWNER' || | |
github.event.pull_request.author_association == 'COLLABORATOR') | |
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 |