Skip to content

Commit

Permalink
Create a text digest of the repository for prompting LLMs
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuravi committed Jan 1, 2025
1 parent 44a0fe5 commit 2bb52b8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/create-digest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Generate Repository Digest

on:
workflow_dispatch:

jobs:
analyze:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install gitingest
run: pip install gitingest

- name: Generate digest
run: |
gitingest . > repo-digest.txt
- name: Upload digest artifact
uses: actions/upload-artifact@v3
with:
name: repository-digest
path: repo-digest.txt
retention-days: 30

0 comments on commit 2bb52b8

Please sign in to comment.