New: save wordcounts in PR Comment
Some checks failed
Word Count / count-words (pull_request) Failing after 7s
Some checks failed
Word Count / count-words (pull_request) Failing after 7s
This commit is contained in:
@@ -13,7 +13,14 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Count words in Markdown files
|
||||
- name: Run Gemini Review
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITEA_URL: ${{ github.server_url }}
|
||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||
run: |
|
||||
echo "Counting words in all .md files..."
|
||||
find . -name "*.md" -not -path "*/.*" -exec wc -w {} + | sort -rn
|
||||
cd scripts/wordcount
|
||||
go build -o wordcount_bin main.go
|
||||
cd ../..
|
||||
./scripts/wordcount/wordcount_bin
|
||||
|
||||
Reference in New Issue
Block a user