Skip to content

Commit

Permalink
Update paper-checks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu committed Feb 28, 2024
1 parent 43c22c9 commit 135bf7b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/paper-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
- name: install CLOC
run: sudo apt install cloc
- name: run CLOC
run: cloc --quiet --report-file=cloc-results.txt ${{ github.workspace }}
- name: Post results
run: |
echo -e "\`\`\`\nSoftware report:\n\n$(cat cloc-results.txt)\n\`\`\`" > cloc-results.txt
gh issue comment ${{ github.event.inputs.issue_id }} --body-file cloc-results.txt
run: |
cloc --quiet --report-file=cloc-results.txt ${{ github.workspace }}
echo -e "**Software report:**\n\n\`\`\`\n$(cat cloc-results.txt)\n\`\`\`" > cloc-results.txt
- name: List Git Authors
run: |
(git shortlog -sn --no-merges --branches .) > git-authors.txt
echo -e "\`\`\`\nThe following historical commit information, by author, was found:\n\n$(cat git-authors.txt)\n\`\`\`" > git-authors.txt
cat git-authors.txt
gh issue comment ${{ github.event.inputs.issue_id }} --body-file git-authors.txt
echo -e "**Commit count by author**:\n\n\`\`\`\n$(cat git-authors.txt)\n\`\`\`" > git-authors.txt
- name: Post results
run: |
echo -e "$(cat cloc-results.txt)\n\n$(cat git-authors.txt)\n" > code-stats.txt
gh issue comment ${{ github.event.inputs.issue_id }} --body-file code-stats.txt

0 comments on commit 135bf7b

Please sign in to comment.