test with ignore #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: PR Statistics Workflow | |
on: | |
push: | |
branches: | |
- test_pr_stats | |
pull_request: | |
branches: | |
- test_pr_stats | |
jobs: | |
pr-statistics: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: PR Stats | |
uses: naver/pr-stats@v1.0.0 | |
with: | |
# GitHub 토큰 (기본값: ${{ github.token }}을 사용하는 경우 생략 가능) | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# 액션이 진행될 레포지토리 (기본값: ${{ github.repository }}) | |
repository: ${{ github.repository }} | |
# 통계에 포함하지 않을 유저 목록. 콤마(,)로 구분 | |
ignoreUsers: "unam98" | |
# # 통계에 사용할 설정 파일 경로 (기본값: ./stats.config.js) | |
# configPath: "./my-custom-config.js" | |
# # 통계를 낼 기간 (예: '30 days', '1 month') | |
# period: "180 days" | |
# 조회할 PR 개수 (period를 입력하지 않은 경우 사용) | |
count: 20 | |
# 이 branch를 대상(base)으로 하는 PR만 조회 | |
baseBranch: "develop" | |
# 데이터 출력 방식 (예: console, csv, json) | |
output: "console,csv" | |
- name: Upload PR Stats CSV | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pr-stats | |
path: ./stats/pr.csv | |
- name: Upload User Stats CSV | |
uses: actions/upload-artifact@v3 | |
with: | |
name: user-stats | |
path: ./stats/user.csv | |
- name: Upload PR List Stats CSV | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pr-list-stats | |
path: ./stats/prList.csv |