Skip to content

Commit

Permalink
Add draft state to CSV output
Browse files Browse the repository at this point in the history
Also change the field header names slightly
  • Loading branch information
lerebear committed Mar 4, 2024
1 parent 65df5bf commit 09f059d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/archiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ function scoreFileContents(
optInStatus: OptInStatus
): string {
const fields = [
['pull-request-number', `${pull.number}`],
['pull.number', `${pull.number}`],
['pull.draft', `${pull.draft}`],
['opted-in', `${optInStatus === OptInStatus.In}`],
['score', `${score.result}`],
['category', score.category?.name || ''],
Expand Down

0 comments on commit 09f059d

Please sign in to comment.